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

Dependency problem not solved, reverting last two

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15985 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8072008c
...@@ -230,17 +230,12 @@ if (APPLE AND OPENFLIPPER_CALL_FIX_BUNDLE) ...@@ -230,17 +230,12 @@ if (APPLE AND OPENFLIPPER_CALL_FIX_BUNDLE)
"${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE) "${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE)
# Don't call every time! add_custom_target (fixbundle ALL # Don't call every time! add_custom_target (fixbundle ALL
add_custom_target (fixbundle add_custom_target (fixbundle ALL
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.cmake" COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.cmake"
) )
# let bundle generation depend on all targets # let bundle generation depend on all targets
add_dependencies (fixbundle OpenFlipper PluginLib ${OPENFLIPPER_PLUGINS}) add_dependencies (fixbundle OpenFlipper PluginLib ${OPENFLIPPER_PLUGINS})
#Add dependency to fixbundle on APPLE when creating the package
if ( APPLE )
add_dependencies(package fixbundle)
endif()
# install bundle # install bundle
install (DIRECTORY ${CMAKE_BINARY_DIR}/Build/OpenFlipper.app DESTINATION . install (DIRECTORY ${CMAKE_BINARY_DIR}/Build/OpenFlipper.app DESTINATION .
USE_SOURCE_PERMISSIONS) USE_SOURCE_PERMISSIONS)
......
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