Commit 75a4a361 authored by Matthias Möller's avatar Matthias Möller

set debug/release output_dir for mac with bundles enabled

closes #1993

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18356 383ad7c9-94d9-4d36-a494-682f7c89f535
parent df1966be
......@@ -188,15 +188,6 @@ target_link_libraries (${OPENFLIPPER_PRODUCT_STRING}
)
if (APPLE)
# create bundle in "Build" directory and set icon
# no install needed here, because the whole bundle will be installed in the
# toplevel CMakeLists.txt
set_target_properties (
${OPENFLIPPER_PRODUCT_STRING} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Build"
MACOSX_BUNDLE_INFO_STRING "ACG OpenFlipper"
MACOSX_BUNDLE_ICON_FILE "OpenFlipper.icns"
)
if ( EXISTS ${CMAKE_SOURCE_DIR}/branding )
......@@ -244,11 +235,14 @@ if (APPLE)
# toplevel CMakeLists.txt
set_target_properties (
${OPENFLIPPER_PRODUCT_STRING} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Build"
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Build/"
RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/Build/"
RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/Build/"
MACOSX_BUNDLE_INFO_STRING "ACG OpenFlipper"
MACOSX_BUNDLE_ICON_FILE "OpenFlipper.icns"
MACOSX_BUNDLE_INFO_PLIST ${APPLE_INFO_PLIST}
)
)
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