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:
@@ -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)
|
||||||
|
if ( BUILD_APPS )
|
||||||
add_custom_target (fixbundle ALL
|
add_custom_target (fixbundle ALL
|
||||||
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.win.cmake" )
|
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.win.cmake" )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
|||||||
Reference in New Issue
Block a user