Commit 31818555 authored by Jan Möbius's avatar Jan Möbius

Fixbundle only in standalone mode

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@386 fdac6126-5c0c-442c-9429-916003d36597
parent b2c14e1b
......@@ -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 ( APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
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)
endif()
endif()
......
......@@ -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 ( APPLE)
# let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
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)
endif()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment