diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 21:51:01 +0900 |
commit | 176112d61a564699677af59d756b28582455e6ff (patch) | |
tree | d8ebe8833474880bca54a73777f0e0d36c0ae0d0 /CMakeLists.txt | |
parent | fda0f460a95e6b4cf641681e8bcdce976fca4258 (diff) | |
download | tdemultimedia-176112d61a564699677af59d756b28582455e6ff.tar.gz tdemultimedia-176112d61a564699677af59d756b28582455e6ff.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit ab5663ed886ecae6f9a9aadd319ff8df3d9002de)
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 ad2d6405..d7a83ee8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,8 +98,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" ) ##### activate dependencies ##################### |