Fixbundle only in standalone mode

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@386 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-03-09 12:46:49 +00:00
parent b2c14e1bdb
commit 31818555cf
2 changed files with 20 additions and 16 deletions

View File

@@ -40,15 +40,17 @@ else ()
endif ()
# Add core as dependency before fixbundle
if ( WIN32 OR APPLE)
# let bundle generation depend on targets
add_dependencies (fixbundle OpenMeshCore)
endif ()
if ( ${PROJECT_NAME} MATCHES "OpenMesh")
# Add core as dependency before fixbundle
if ( WIN32 OR APPLE)
# let bundle generation depend on targets
add_dependencies (fixbundle OpenMeshCore)
endif ()
if ( APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
if ( APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
endif()
endif()

View File

@@ -47,15 +47,17 @@ IF( NOT WIN32 )
target_link_libraries (OpenMeshToolsStatic OpenMeshCoreStatic)
ENDIF(NOT WIN32)
# Add tools as dependency before fixbundle
if ( WIN32 OR APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshTools)
endif()
if ( ${PROJECT_NAME} MATCHES "OpenMesh")
# Add tools as dependency before fixbundle
if ( WIN32 OR APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshTools)
endif()
if ( APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
if ( APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
endif()
endif()