LINK_FLAGS should be defined in target properties 64/64764/1 accepted/tizen/common/20160406.144006 accepted/tizen/ivi/20160406.071136 accepted/tizen/mobile/20160406.071021 accepted/tizen/tv/20160406.071051 accepted/tizen/wearable/20160406.071109 submit/tizen/20160406.011436
authorKyungwook Tak <k.tak@samsung.com>
Tue, 5 Apr 2016 08:16:30 +0000 (17:16 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Tue, 5 Apr 2016 08:18:36 +0000 (17:18 +0900)
Change-Id: If3e627df1dba22c40b7705613ba0ae766f224265
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/common/ui/popup-bin/CMakeLists.txt

index ac25660..7f803de 100644 (file)
@@ -34,14 +34,14 @@ SET(POPUP_SRCS
        popup.cpp
        )
 
-SET_SOURCE_FILES_PROPERTIES(${POPUP_SRCS}
+ADD_EXECUTABLE(${TARGET_TPKP_POPUP} ${POPUP_SRCS})
+
+SET_TARGET_PROPERTIES(${TARGET_TPKP_POPUP}
        PROPERTIES
                COMPILE_FLAGS "-D_GNU_SOURCE -fPIE"
                LINK_FLAGS "-pie"
        )
 
-ADD_EXECUTABLE(${TARGET_TPKP_POPUP} ${POPUP_SRCS})
-
 TARGET_LINK_LIBRARIES(${TARGET_TPKP_POPUP}
        ${TPKP_POPUP_DEP_LIBRARIES}
        ${TARGET_TPKP_COMMON_LIB}