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

Dependency incorrect



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15984 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cccc07f2
......@@ -236,6 +236,11 @@ if (APPLE AND OPENFLIPPER_CALL_FIX_BUNDLE)
# let bundle generation depend on all targets
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 (DIRECTORY ${CMAKE_BINARY_DIR}/Build/OpenFlipper.app DESTINATION .
USE_SOURCE_PERMISSIONS)
......
......@@ -263,12 +263,6 @@ if (NOT WIN32 AND NOT APPLE)
endif ()
#Add dependency to fixbundle on APPLE when creating the package
if ( APPLE )
add_dependencies(package fixbundle)
endif()
# cmake doesn't create a source package target, so we have to add our own
if (EXISTS "${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake")
add_custom_target (PACKAGE_SOURCE
......
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