Removed fixbundle calls if not building apps.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1314 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -53,16 +53,16 @@ else ()
|
||||
endif ()
|
||||
|
||||
# Add core as dependency before fixbundle
|
||||
if ( ${PROJECT_NAME} MATCHES "OpenMesh")
|
||||
if ( (${PROJECT_NAME} MATCHES "OpenMesh") AND BUILD_APPS )
|
||||
|
||||
if ( WIN32 AND BUILD_APPS)
|
||||
if ( WIN32 )
|
||||
if ( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles" )
|
||||
add_dependencies (fixbundle OpenMeshCore)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Add core as dependency before fixbundle
|
||||
if ( APPLE)
|
||||
if ( APPLE )
|
||||
# let bundle generation depend on targets
|
||||
add_dependencies (fixbundle OpenMeshCore)
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user