#1 add support to LDFLAGS env variable for modules and shared libs

Merged
MicheleC merged 1 commits from feat/linker_flags into master 11 months ago
  1. +2
    -2
      CMakeLists.txt

+ 2
- 2
CMakeLists.txt View File

@@ -92,8 +92,8 @@ add_definitions(
)

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS} -DTQT_THREAD_SUPPORT" )
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 ########################

Loading…
Cancel
Save