MinGW support

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@471 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-11-28 13:31:31 +00:00
parent a95789f417
commit 214bc1f278
8 changed files with 47 additions and 22 deletions

View File

@@ -49,9 +49,11 @@ ENDIF(NOT WIN32)
if ( ${PROJECT_NAME} MATCHES "OpenMesh")
if ( WIN32 AND BUILD_APPS )
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshTools)
if ( WIN32 AND BUILD_APPS)
if ( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles" )
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshTools)
endif()
endif()
@@ -59,12 +61,9 @@ if ( ${PROJECT_NAME} MATCHES "OpenMesh")
if (APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshTools)
endif()
if ( APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
endif()
endif()