--- src/OpenMesh/Tools/CMakeLists.txt.orig 2021-03-25 00:45:18 UTC +++ src/OpenMesh/Tools/CMakeLists.txt @@ -43,7 +43,7 @@ if (WIN32) endif() else () - acg_add_library (OpenMeshTools SHAREDANDSTATIC ${sources} ${headers}) + acg_add_library (OpenMeshTools SHARED ${sources} ${headers}) set_target_properties (OpenMeshTools PROPERTIES VERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR} SOVERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR} ) endif () @@ -51,7 +51,7 @@ endif () target_link_libraries (OpenMeshTools OpenMeshCore) IF( NOT WIN32 ) - target_link_libraries (OpenMeshToolsStatic OpenMeshCoreStatic) + #target_link_libraries (OpenMeshToolsStatic OpenMeshCoreStatic) ENDIF(NOT WIN32) if ( (${PROJECT_NAME} MATCHES "OpenMesh") AND BUILD_APPS ) @@ -67,7 +67,7 @@ if ( (${PROJECT_NAME} MATCHES "OpenMesh") AND BUILD_AP if (APPLE) # let bundle generation depend on target add_dependencies (fixbundle OpenMeshTools) - add_dependencies (fixbundle OpenMeshToolsStatic) + #add_dependencies (fixbundle OpenMeshToolsStatic) endif() endif()