19 lines
625 B
Diff
19 lines
625 B
Diff
|
diff --git a/src/kdesud/CMakeLists.txt b/src/kdesud/CMakeLists.txt
|
||
|
index 1276a55..998f9e0 100644
|
||
|
--- a/src/kdesud/CMakeLists.txt
|
||
|
+++ b/src/kdesud/CMakeLists.txt
|
||
|
@@ -17,10 +17,9 @@ ecm_mark_nongui_executable(kdesud)
|
||
|
|
||
|
target_link_libraries(kdesud KF5::Su KF5::I18n ${X11_LIBRARIES})
|
||
|
|
||
|
-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 ###############
|
||
|
|