Fix noverifyiwads cmake flag

This commit is contained in:
NepDisk 2025-11-18 18:27:32 -05:00
parent 62da246450
commit 64ead818ca
2 changed files with 4 additions and 5 deletions

View file

@ -92,11 +92,6 @@ set(SRB2_CONFIG_ASSET_DIRECTORY "" CACHE PATH "Path to directory that contains a
option(SRB2_CONFIG_LTO "Enable link time optimizations, improves performance at the cost of longer link times." ON)
option(SRB2_CONFIG_TIDY "Enable clang tiny, checks compiled code for issues at the cost of longer compile times." OFF)
if(SRB2_CONFIG_NOVERIFYIWADS)
target_compile_definitions(SRB2SDL2 PRIVATE -DNOVERIFYIWADS)
endif()
if(SRB2_CONFIG_ENABLE_TESTS)
# https://github.com/catchorg/Catch2
CPMAddPackage(

View file

@ -232,6 +232,10 @@ if(SRB2_CONFIG_TIDY)
set(CMAKE_CXX_CLANG_TIDY "clang-tidy;-checks=*")
endif()
if(SRB2_CONFIG_NOVERIFYIWADS)
target_compile_definitions(SRB2SDL2 PRIVATE -DNOVERIFYIWADS)
endif()
add_subdirectory(blua)
add_subdirectory(blan)
add_subdirectory(sdl)