Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.30)
cmake_minimum_required(VERSION 3.28)
project(UDBM VERSION 2.0.15 LANGUAGES CXX C)
include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
Expand Down
3 changes: 3 additions & 0 deletions cmake/boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ set(Boost_USE_STATIC_RUNTIME ON) # Mac insists on ON for boost_program_options
#set(Boost_DEBUG ON)
set(Boost_VERSION 1.86.0)

if (POLICY CMP0167)
cmake_policy (SET CMP0167 NEW)
endif ()
if (BOOST_INCLUDE_LIBRARIES)
find_package(Boost ${Boost_VERSION} COMPONENTS ${BOOST_INCLUDE_LIBRARIES} QUIET)
else(BOOST_INCLUDE_LIBRARIES)
Expand Down
4 changes: 2 additions & 2 deletions cmake/doctest.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
find_package(doctest 2.4.11 QUIET)
find_package(doctest 2.5.2 QUIET)

if (doctest_FOUND)
if (TARGET doctest::doctest_with_main)
Expand All @@ -25,7 +25,7 @@ else(doctest_FOUND)
FetchContent_Declare(
doctest
GIT_REPOSITORY https://github.com/doctest/doctest
GIT_TAG v2.4.11
GIT_TAG v2.5.2
GIT_SHALLOW TRUE # get only the last commit version
GIT_PROGRESS TRUE # show progress of download
# FIND_PACKAGE_ARGS NAMES doctest
Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ foreach(source ${test_cpp_sources})
get_filename_component(test_target ${source} NAME_WE)
add_executable(${test_target} ${source})
target_link_libraries(${test_target} ${libs} doctest_with_main)
target_compile_definitions(${test_target} PUBLIC DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN)
endforeach()

# comments contain expected time of Linux debug build, YMMV, whereas timeouts
Expand Down
Loading