diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-18 23:21:59 +0900 |
commit | 18ccc820e94b412893f3e0288d5d06a3c7fbb91b (patch) | |
tree | 60b10b205653ff329f18274f71b6a7d45f84b082 | |
parent | 3d1c19bc4fa1ac94c09865245e76c77aec6e2b61 (diff) | |
download | knetworkmanager8-18ccc820e94b412893f3e0288d5d06a3c7fbb91b.tar.gz knetworkmanager8-18ccc820e94b412893f3e0288d5d06a3c7fbb91b.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit f7fb242b8a645152b7ca41d0aef88228a8490c1f)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bb6f95..0ac99d3 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 ######################## |