We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 520e488 commit d2fbcfeCopy full SHA for d2fbcfe
CMakeLists.txt
@@ -399,11 +399,11 @@ IF (WIN32)
399
SET(DLLIMPORT "__declspec(dllimport)")
400
SET(DLLEXPORT "__declspec(dllexport)")
401
ELSE (WIN32)
402
- IF(PEDANTIC)
+ IF(PEDANTIC AND NOT APPLE)
403
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
404
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
405
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined")
406
- ENDIF(PEDANTIC)
+ ENDIF(PEDANTIC AND NOT APPLE)
407
408
SET(DLLIMPORT "")
409
SET(DLLEXPORT "")
0 commit comments