X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=host_applications%2Flinux%2Fapps%2Fgencmd%2FCMakeLists.txt;h=f1a1d32ab71a0802a639743e9d7bffee89d7d756;hb=refs%2Ftags%2Faccepted%2Ftizen%2F6.0%2Funified%2F20210901.140902;hp=f95d1a1b7cece302d00adf84c05b27fc7fe66ed0;hpb=2696830aa77f0e755627e426d9fe20fd7c79352b;p=platform%2Fadaptation%2Fbroadcom%2Flibomxil-vc4.git diff --git a/host_applications/linux/apps/gencmd/CMakeLists.txt b/host_applications/linux/apps/gencmd/CMakeLists.txt index f95d1a1..f1a1d32 100755 --- a/host_applications/linux/apps/gencmd/CMakeLists.txt +++ b/host_applications/linux/apps/gencmd/CMakeLists.txt @@ -7,13 +7,14 @@ else () 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) +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)