mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-18 13:21:16 +00:00
Fix asset build on Windows
This commit is contained in:
parent
af642ff021
commit
0c672329da
@ -42,7 +42,7 @@ find_program(SDL_SHADERCROSS_BIN NAMES "shadercross")
|
|||||||
find_package(Python3 3.12 COMPONENTS Interpreter)
|
find_package(Python3 3.12 COMPONENTS Interpreter)
|
||||||
|
|
||||||
option(ISLE_BUILD_APP "Build isle application" ON)
|
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_ASAN "Enable Address Sanitizer" OFF)
|
||||||
option(ISLE_UBSAN "Enable Undefined Behavior Sanitizer" OFF)
|
option(ISLE_UBSAN "Enable Undefined Behavior Sanitizer" OFF)
|
||||||
option(ISLE_WERROR "Treat warnings as errors" OFF)
|
option(ISLE_WERROR "Treat warnings as errors" OFF)
|
||||||
@ -706,6 +706,9 @@ if (MSVC)
|
|||||||
if (TARGET isle-config)
|
if (TARGET isle-config)
|
||||||
target_compile_options(isle-config PRIVATE "-Zc:__cplusplus")
|
target_compile_options(isle-config PRIVATE "-Zc:__cplusplus")
|
||||||
endif()
|
endif()
|
||||||
|
if (TARGET asset_generator)
|
||||||
|
target_compile_options(asset_generator PRIVATE "-Zc:__cplusplus")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user