diff --git a/CMakeLists.txt b/CMakeLists.txt index 46dbff68..2c349d49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ find_program(SDL_SHADERCROSS_BIN NAMES "shadercross") find_package(Python3 3.12 COMPONENTS Interpreter) option(ISLE_BUILD_APP "Build isle application" ON) -option(ISLE_BUILD_ASSETS "Build assets from the /assets directory" OFF) +option(ISLE_BUILD_ASSETS "Build assets from the /assets directory" OFF) option(ISLE_ASAN "Enable Address Sanitizer" OFF) option(ISLE_UBSAN "Enable Undefined Behavior Sanitizer" OFF) option(ISLE_WERROR "Treat warnings as errors" OFF) @@ -706,6 +706,9 @@ if (MSVC) if (TARGET isle-config) target_compile_options(isle-config PRIVATE "-Zc:__cplusplus") endif() + if (TARGET asset_generator) + target_compile_options(asset_generator PRIVATE "-Zc:__cplusplus") + endif() endif() endif()