2014-07-26 12:02:53 +02:00
|
|
|
diff --git a/src/kdesud/CMakeLists.txt b/src/kdesud/CMakeLists.txt
|
2015-01-03 20:21:02 +01:00
|
|
|
index 90bd3f7..1118755 100644
|
2014-07-26 12:02:53 +02:00
|
|
|
--- a/src/kdesud/CMakeLists.txt
|
|
|
|
+++ b/src/kdesud/CMakeLists.txt
|
2015-01-03 20:21:02 +01:00
|
|
|
@@ -20,10 +20,9 @@ if(HAVE_X11)
|
|
|
|
target_include_directories(kdesud PRIVATE ${X11_X11_INCLUDE_PATH})
|
|
|
|
endif()
|
2014-07-26 12:02:53 +02:00
|
|
|
|
|
|
|
-if(KDE4_ENABLE_FPIE)
|
|
|
|
- macro_add_compile_flags(kdesud ${KDE4_CXX_FPIE_FLAGS})
|
|
|
|
- macro_add_link_flags(kdesud ${KDE4_PIE_LDFLAGS})
|
|
|
|
-endif()
|
|
|
|
+set_property(TARGET kdesud APPEND_STRING PROPERTY COMPILE_FLAGS " -fPIE")
|
|
|
|
+
|
|
|
|
+set_property(TARGET kdesud APPEND_STRING PROPERTY LINK_FLAGS " -pie")
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|