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,6 +40,7 @@ else ()
endif () endif ()
if ( ${PROJECT_NAME} MATCHES "OpenMesh")
# Add core as dependency before fixbundle # Add core as dependency before fixbundle
if ( WIN32 OR APPLE) if ( WIN32 OR APPLE)
# let bundle generation depend on targets # let bundle generation depend on targets
@@ -50,6 +51,7 @@ if ( APPLE)
# let bundle generation depend on target # let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic) add_dependencies (fixbundle OpenMeshToolsStatic)
endif() endif()
endif()
# Install Header Files (Apple) # Install Header Files (Apple)

View File

@@ -47,6 +47,7 @@ IF( NOT WIN32 )
target_link_libraries (OpenMeshToolsStatic OpenMeshCoreStatic) target_link_libraries (OpenMeshToolsStatic OpenMeshCoreStatic)
ENDIF(NOT WIN32) ENDIF(NOT WIN32)
if ( ${PROJECT_NAME} MATCHES "OpenMesh")
# Add tools as dependency before fixbundle # Add tools as dependency before fixbundle
if ( WIN32 OR APPLE) if ( WIN32 OR APPLE)
# let bundle generation depend on target # let bundle generation depend on target
@@ -57,6 +58,7 @@ if ( APPLE)
# let bundle generation depend on target # let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic) add_dependencies (fixbundle OpenMeshToolsStatic)
endif() endif()
endif()
# Install Header Files (Apple) # Install Header Files (Apple)