15 lines
664 B
Diff
15 lines
664 B
Diff
Index: kdesu-5.62.0git.20220827T215947~7188b15/src/kdesud/CMakeLists.txt
|
|
===================================================================
|
|
--- kdesu-5.62.0git.20220827T215947~7188b15.orig/src/kdesud/CMakeLists.txt 2022-08-27 21:59:47.000000000 +0200
|
|
+++ kdesu-5.62.0git.20220827T215947~7188b15/src/kdesud/CMakeLists.txt 2022-08-28 22:14:41.623414812 +0200
|
|
@@ -30,6 +30,9 @@
|
|
target_include_directories(kdesud PRIVATE ${X11_X11_INCLUDE_PATH})
|
|
endif()
|
|
|
|
+set_property(TARGET kdesud APPEND_STRING PROPERTY COMPILE_FLAGS " -fPIE")
|
|
+set_property(TARGET kdesud APPEND_STRING PROPERTY LINK_FLAGS " -pie")
|
|
+
|
|
if(BUILD_TESTING)
|
|
add_subdirectory(autotests)
|
|
endif()
|