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

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 () ...@@ -40,15 +40,17 @@ else ()
endif () endif ()
# Add core as dependency before fixbundle if ( ${PROJECT_NAME} MATCHES "OpenMesh")
if ( WIN32 OR APPLE) # Add core as dependency before fixbundle
# let bundle generation depend on targets if ( WIN32 OR APPLE)
add_dependencies (fixbundle OpenMeshCore) # let bundle generation depend on targets
endif () add_dependencies (fixbundle OpenMeshCore)
endif ()
if ( APPLE)
# let bundle generation depend on target if ( APPLE)
add_dependencies (fixbundle OpenMeshToolsStatic) # let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
endif()
endif() endif()
......
...@@ -47,15 +47,17 @@ IF( NOT WIN32 ) ...@@ -47,15 +47,17 @@ IF( NOT WIN32 )
target_link_libraries (OpenMeshToolsStatic OpenMeshCoreStatic) target_link_libraries (OpenMeshToolsStatic OpenMeshCoreStatic)
ENDIF(NOT WIN32) ENDIF(NOT WIN32)
# Add tools as dependency before fixbundle if ( ${PROJECT_NAME} MATCHES "OpenMesh")
if ( WIN32 OR APPLE) # Add tools as dependency before fixbundle
# let bundle generation depend on target if ( WIN32 OR APPLE)
add_dependencies (fixbundle OpenMeshTools) # let bundle generation depend on target
endif() add_dependencies (fixbundle OpenMeshTools)
endif()
if ( APPLE)
# let bundle generation depend on target if ( APPLE)
add_dependencies (fixbundle OpenMeshToolsStatic) # let bundle generation depend on target
add_dependencies (fixbundle OpenMeshToolsStatic)
endif()
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