Split openmeshcore static/shared MinGW compilation
As with ms compilers, the shared/static compilation depends on export macros. Anyway this is inconsistent with the behavior for openmeshtools library. Why did you add this ?
This commit is contained in:
@@ -35,7 +35,7 @@ if ( NOT ${PROJECT_NAME} MATCHES "OpenMesh")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if (WIN32 AND NOT MINGW)
|
if (WIN32)
|
||||||
|
|
||||||
if ( OPENMESH_BUILD_SHARED )
|
if ( OPENMESH_BUILD_SHARED )
|
||||||
add_definitions( -DOPENMESHDLL -DBUILDOPENMESHDLL)
|
add_definitions( -DOPENMESHDLL -DBUILDOPENMESHDLL)
|
||||||
|
|||||||
Reference in New Issue
Block a user