diff --git a/apps/Launcher/CMakeLists.txt b/apps/Launcher/CMakeLists.txt index 8d21984d12..0b2cfba232 100644 --- a/apps/Launcher/CMakeLists.txt +++ b/apps/Launcher/CMakeLists.txt @@ -29,7 +29,8 @@ if (WIN32) set(RESOURCE_FILE ${OPENSPACE_APPS_DIR}/Launcher/openspace.rc) endif () -include (${GHOUL_BASE_DIR}/support/cmake/handle_external_library.cmake) +include(${GHOUL_BASE_DIR}/support/cmake/handle_external_library.cmake) +include(${OPENSPACE_CMAKE_EXT_DIR}/support_macros.cmake) set(application_path ${OPENSPACE_APPS_DIR}/Launcher) @@ -65,6 +66,8 @@ add_executable(${APPLICATION_NAME} MACOSX_BUNDLE ${RESOURCE_FILES} ) +set_compile_settings(${APPLICATION_NAME}) + target_link_libraries(${APPLICATION_NAME} Qt5::Widgets Qt5::Network diff --git a/apps/OpenSpace/CMakeLists.txt b/apps/OpenSpace/CMakeLists.txt index 6f9d4bb247..a2c52bed76 100644 --- a/apps/OpenSpace/CMakeLists.txt +++ b/apps/OpenSpace/CMakeLists.txt @@ -23,6 +23,7 @@ ########################################################################################## include(${GHOUL_BASE_DIR}/support/cmake/CopySharedLibraries.cmake) +include(${OPENSPACE_CMAKE_EXT_DIR}/support_macros.cmake) set(APPLICATION_NAME OpenSpace) set(APPLICATION_LINK_TO_OPENSPACE ON) @@ -130,3 +131,5 @@ if (MSVC) "/NODEFAULTLIB:LIBCMTD.lib /NODEFAULTLIB:LIBCMT.lib" ) endif() + +set_compile_settings(${APPLICATION_NAME}) diff --git a/apps/TaskRunner/CMakeLists.txt b/apps/TaskRunner/CMakeLists.txt index 69f23771d3..f05c53d6a9 100644 --- a/apps/TaskRunner/CMakeLists.txt +++ b/apps/TaskRunner/CMakeLists.txt @@ -26,6 +26,7 @@ set(APPLICATION_NAME TaskRunner) set(APPLICATION_LINK_TO_OPENSPACE ON) include (${GHOUL_BASE_DIR}/support/cmake/handle_external_library.cmake) +include(${OPENSPACE_CMAKE_EXT_DIR}/support_macros.cmake) set(application_path ${OPENSPACE_APPS_DIR}/TaskRunner) @@ -37,3 +38,4 @@ add_executable(${APPLICATION_NAME} MACOSX_BUNDLE ${SOURCE_FILES} ) +set_compile_settings(${APPLICATION_NAME})