Merge pull request #207 from LaurensVoerman/submitOpenCascade

fix OpenCascade library list for use with shared libs; added list and…
This commit is contained in:
OpenSceneGraph git repository
2017-03-13 15:01:08 +00:00
committed by GitHub
2 changed files with 55 additions and 0 deletions

View File

@@ -13,5 +13,9 @@ SET(TARGET_LIBRARIES_VARS OPENCASCADE_LIBRARY)
# requires CMake 3.1 to do the following:
set (CMAKE_CXX_STANDARD 11)
if (NOT "${OPENCASCADE_LIBRARY_TYPE}" STREQUAL "Shared")
ADD_DEFINITIONS(-DHAVE_NO_DLL)
endif (NOT "${OPENCASCADE_LIBRARY_TYPE}" STREQUAL "Shared")
#### end var setup ###
SETUP_PLUGIN(opencascade)