Removed some duplicate code
This commit is contained in:
@@ -172,18 +172,10 @@ endif ()
|
||||
# Add core as dependency before fixbundle
|
||||
if ( (${CMAKE_PROJECT_NAME} MATCHES "OpenMesh") AND BUILD_APPS )
|
||||
|
||||
if ( WIN32 )
|
||||
if ( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles" )
|
||||
if ( APPLE OR (WIN32 AND NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles" ) )
|
||||
add_dependencies (fixbundle OpenMeshCore)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Add core as dependency before fixbundle
|
||||
if ( APPLE )
|
||||
# let bundle generation depend on targets
|
||||
add_dependencies (fixbundle OpenMeshCore)
|
||||
endif ()
|
||||
|
||||
endif()
|
||||
|
||||
# if we build debug and release in the same dir, we want to install both!
|
||||
|
||||
Reference in New Issue
Block a user