Skip to content

Commit

Permalink
Fixed cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
KiritoDv committed Jan 15, 2025
1 parent 86f6efd commit cd0908a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ else()
list(FILTER SRC_DIR EXCLUDE REGEX "${CMAKE_CURRENT_SOURCE_DIR}/src/factories/mk64/*")
endif()

option(USE_STANDALONE "Build as a standalone executable" ON)
option(BUILD_STORMLIB "Build with StormLib support" ON)
option(BUILD_ASAN "Build with AddressSanitizer" OFF)

if (BUILD_ASAN)
if(ENABLE_ASAN)
add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)
endif()
Expand All @@ -105,13 +101,13 @@ else()
/w;
/Od;
/ZI;
/MDd
/${LINK_TYPE}d
>
$<$<CONFIG:Release>:
/Oi;
/O3;
/Gy;
/W3;
/MD
/${LINK_TYPE}
>
/bigobj
/permissive-;
Expand Down

0 comments on commit cd0908a

Please sign in to comment.