Skip to content
Permalink
Browse files

don't use -Wl,--no-undefined on OSX

  • Loading branch information
jef-n committed Apr 3, 2012
1 parent 520e488 commit d2fbcfebb6df9689f6ed00bc62c736d406366e91
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
@@ -399,11 +399,11 @@ IF (WIN32)
SET(DLLIMPORT "__declspec(dllimport)")
SET(DLLEXPORT "__declspec(dllexport)")
ELSE (WIN32)
IF(PEDANTIC)
IF(PEDANTIC AND NOT APPLE)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined")
ENDIF(PEDANTIC)
ENDIF(PEDANTIC AND NOT APPLE)

SET(DLLIMPORT "")
SET(DLLEXPORT "")

0 comments on commit d2fbcfe

Please sign in to comment.
You can’t perform that action at this time.