Skipp budle fixing on windows when we do not build apps

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@428 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-10-11 06:37:38 +00:00
parent 26e58f7bf0
commit b73ca9eb89

View File

@@ -23,9 +23,15 @@ endif ()
# ======================================================================== # ========================================================================
# Add bundle targets here # Add bundle targets here
# ======================================================================== # ========================================================================
if ( NOT DEFINED BUILD_APPS )
set( BUILD_APPS true CACHE BOOL "Enable or disable building of apps" )
endif()
if (WIN32) if (WIN32)
add_custom_target (fixbundle ALL if ( BUILD_APPS )
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.win.cmake" ) add_custom_target (fixbundle ALL
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.win.cmake" )
endif()
endif() endif()
if (APPLE) if (APPLE)