Skip to content

Commit

Permalink
fix cmake options
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Jul 17, 2024
1 parent 9b02f8e commit 01ef809
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ project(${PROJECT_NAME})
option(WITH_ASAN ON)
option(DISKHASH_TESTS ON)

include(setup)
set(CXX_FLAGS
CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELWITHDEBINFO
)

include_directories(${CMAKE_SOURCE_DIR}/src)
add_library(diskhash STATIC src/os_wrappers.c src/diskhash.c)
Expand Down
10 changes: 0 additions & 10 deletions cmake-modules/setup.cmake

This file was deleted.

0 comments on commit 01ef809

Please sign in to comment.