0000661: cmake build on Mac OS: dealing with dylib versus so

This commit is contained in:
wmayer 2012-04-03 23:58:01 +02:00
parent e89a93467c
commit eb55a5a5d5

View File

@ -385,6 +385,10 @@ IF(MINGW)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -mthreads -Wl,--export-all-symbols") SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -mthreads -Wl,--export-all-symbols")
LINK_LIBRARIES(-lgdi32) LINK_LIBRARIES(-lgdi32)
ENDIF(MINGW) ENDIF(MINGW)
# 0000661: cmake build on Mac OS: dealing with dylib versus so
IF(APPLE)
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
ENDIF(APPLE)
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(data) add_subdirectory(data)