Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroAir committed Jun 13, 2024
1 parent 6d2c120 commit dc8fd4a
Show file tree
Hide file tree
Showing 26 changed files with 967 additions and 792 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)

# Add subdirectories
add_subdirectory(libs)
add_subdirectory(${lithium_module_dir})
add_subdirectory(modules)
add_subdirectory(${lithium_module_dir})
add_subdirectory(driver)
add_subdirectory(${lithium_src_dir}/config)
add_subdirectory(tests)
Expand Down
2 changes: 1 addition & 1 deletion cmake_modules/compiler_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ endif()

# Enable Address Sanitizer (ASan) for Debug builds
if(CMAKE_BUILD_TYPE MATCHES "Debug")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang" AND NOT MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fno-omit-frame-pointer")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=address")
endif()
Expand Down
Loading

0 comments on commit dc8fd4a

Please sign in to comment.