diff --git a/CMakeLists.txt b/CMakeLists.txt index ea21da781a..8abd0e3ca0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,10 @@ set(MUSE_APP_BUILD_MODE "dev" CACHE STRING "Build mode") # - testing - for testing versions (alpha, beta, RC) # - release - for stable release builds +# The application owns this option; for the standalone framework build this +# top-level CMakeLists is the application. +option(MUSE_COMPILE_USE_PCH "Use precompiled headers." ON) + include(${MUSE_FRAMEWORK_SRC_PATH}/cmake/MuseDeclareOptions.cmake) ########################################### diff --git a/framework/cmake/MuseDeclareOptions.cmake b/framework/cmake/MuseDeclareOptions.cmake index 0a853397a0..b351cfa50b 100644 --- a/framework/cmake/MuseDeclareOptions.cmake +++ b/framework/cmake/MuseDeclareOptions.cmake @@ -7,7 +7,6 @@ option(MUSE_CONFIGURATION_IS_WEB "Configuration is web" OFF) # === Build options === option(MUSE_COMPILE_ASAN "Enable Address Sanitizer" OFF) -option(MUSE_COMPILE_USE_PCH "Use precompiled headers." ON) # === Debug options === option(MUSE_COMPILE_STRING_DEBUG_HACK "Enable string debug hack (only clang)" ON)