From 34c88f9a15cc2421841b67fbdf0e67c392968b41 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 22 Apr 2015 18:45:28 -0300 Subject: CMake needs hints that this will be a win32 or a mac bundle. MACOSX_BUNDLE and WIN32 give hints to cmake for different install behaviors. for instance, trying to copy frameworks and other stuff to the correct places. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4c5cc4a9..e4defa1cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -328,7 +328,7 @@ endif() # create the executables -add_executable(${SUBSURFACE_TARGET} ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES}) +add_executable(${SUBSURFACE_TARGET} MACOSX_BUNDLE WIN32 ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES}) target_link_libraries( ${SUBSURFACE_TARGET} subsurface_generated_ui -- cgit v1.2.3-70-g09d2