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 | d9228e4fc3d932ee3065b7c789de71ff87c922e6 (patch) | |
tree | 92d0890ec18f66c3c0d669625c2458aa783fba61 | |
parent | 3143e6f455dd69a6b387baafd91b54f9575c5911 (diff) | |
download | tdenetworkmanager-d9228e4fc3d932ee3065b7c789de71ff87c922e6.tar.gz tdenetworkmanager-d9228e4fc3d932ee3065b7c789de71ff87c922e6.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a18530..191a59f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,8 +57,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 ######################## |