diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 22:47:49 +0900 |
commit | 0e892dc294173b8674afca59a7f8cbda6e0b00b5 (patch) | |
tree | db653c01d72af5a5478b7ff93f675fd07e6adc31 | |
parent | 710972c84feccb1bca4683fb9c0cf50f080c571f (diff) | |
download | tdeio-locate-0e892dc294173b8674afca59a7f8cbda6e0b00b5.tar.gz tdeio-locate-0e892dc294173b8674afca59a7f8cbda6e0b00b5.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 994e3cd03f413a3258f35ba6541ef639aa10c9a0)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b257110..e315b3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,8 +61,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 ######################## |