diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
commit | 77a89a945b4209bbe0910dc2583e0cbf14c77a11 (patch) | |
tree | ccb34daa4946a3ca22dbd665986c11f87877446d /CMakeLists.txt | |
parent | 5624deac37d1a237732605820c8657a04e121ed0 (diff) | |
download | tdepowersave-77a89a945b4209bbe0910dc2583e0cbf14c77a11.tar.gz tdepowersave-77a89a945b4209bbe0910dc2583e0cbf14c77a11.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 21f4c80..f9b246d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,8 +54,8 @@ add_definitions( ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) -set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) -set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) +set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" ) +set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ) ##### source directories ######################## |