diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:37 +0100 |
---|---|---|
committer | Fabio Rossi <[email protected]> | 2018-12-17 17:07:37 +0100 |
commit | 893ae3502dade25f4c6497e25783218318a4e7f7 (patch) | |
tree | 5a6dd7ffada5abb6dbc192c0fbac915d5ef60128 | |
parent | d0ff1c892c16e5e1f2e8244d2b4aac87db4d5103 (diff) | |
download | gtk-qt-engine-893ae3502dade25f4c6497e25783218318a4e7f7.tar.gz gtk-qt-engine-893ae3502dade25f4c6497e25783218318a4e7f7.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 6ae11c4..9811d94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,8 +47,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" ) INCLUDE (UsePkgConfig) |