2014-07-27 03:11:09 +02:00
|
|
|
diff --git a/src/start_kdeinit/CMakeLists.txt b/src/start_kdeinit/CMakeLists.txt
|
2014-09-09 12:12:33 +02:00
|
|
|
index 46d6cb3..31434df 100644
|
2014-07-27 03:11:09 +02:00
|
|
|
--- a/src/start_kdeinit/CMakeLists.txt
|
|
|
|
+++ b/src/start_kdeinit/CMakeLists.txt
|
2016-08-08 09:12:41 +02:00
|
|
|
@@ -3,6 +3,11 @@ add_executable(start_kdeinit start_kdeinit.c)
|
2014-07-27 03:11:09 +02:00
|
|
|
if (Libcap_FOUND)
|
|
|
|
target_link_libraries(start_kdeinit ${Libcap_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
+
|
|
|
|
+set_property(TARGET start_kdeinit APPEND_STRING PROPERTY COMPILE_FLAGS " -fPIE")
|
|
|
|
+
|
|
|
|
+set_property(TARGET start_kdeinit APPEND_STRING PROPERTY LINK_FLAGS " -pie")
|
|
|
|
+
|
|
|
|
add_executable(start_kdeinit_wrapper start_kdeinit_wrapper.c)
|
2016-08-08 09:12:41 +02:00
|
|
|
ecm_mark_nongui_executable(start_kdeinit_wrapper)
|
2014-07-27 03:11:09 +02:00
|
|
|
|