diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 22:06:57 +0900 |
commit | 780dda598c2d91b1001f15a58bc23674a8db0852 (patch) | |
tree | 5688936de6696d785a2bfa2940fc9dcee9d76f53 /CMakeLists.txt | |
parent | 30ca4384966516135b5680e298fe3e01963ceb18 (diff) | |
download | tdebase-780dda598c2d91b1001f15a58bc23674a8db0852.tar.gz tdebase-780dda598c2d91b1001f15a58bc23674a8db0852.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 3cad9663dfd66a3787b16ca2a396f0a709946ee1)
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 0015124b2..b613eb84f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,8 +209,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" ) check_type_size( "long long" LONG_LONG ) |