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:
xan
2016-06-15 21:19:22 +02:00
parent 46aed2c4f4
commit ecdd59a82a

View File

@@ -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)