Change-Id: I8ee52bc07d44290d543f54654bd64b8715b4511d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
add_definitions(-Wall -Werror)
endif ()
add_definitions(-Wall -Werror)
endif ()
-include_directories( ../../../..
+include_directories( ../../../..
../../../../interface/vcos
../../../../interface/vcos/${VCOS_PLATFORM} )
#add_subdirectory( ../../../../interface/vcos/${VCOS_PLATFORM} vcos)
#add_subdirectory( ../../bin/gencmd)
../../../../interface/vcos
../../../../interface/vcos/${VCOS_PLATFORM} )
#add_subdirectory( ../../../../interface/vcos/${VCOS_PLATFORM} vcos)
#add_subdirectory( ../../bin/gencmd)
+SET(CMAKE_EXE_LINKER_FLAGS "-pie")
add_executable(vcgencmd gencmd.c)
target_link_libraries(vcgencmd vcos vchiq_arm vchostif)
install(TARGETS vcgencmd RUNTIME DESTINATION bin)
add_executable(vcgencmd gencmd.c)
target_link_libraries(vcgencmd vcos vchiq_arm vchostif)
install(TARGETS vcgencmd RUNTIME DESTINATION bin)