Fix noverifyiwads cmake flag
This commit is contained in:
parent
62da246450
commit
64ead818ca
2 changed files with 4 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue