Skip to content

Commit b9461ec

Browse files
author
Robin Hayman
committed
test makefile improvements
1 parent 0ffe187 commit b9461ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.22)
2-
2+
set(CMAKE_CXX_STANDARD 20)
3+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
34
option(ENABLE_TESTS "Enable tests" OFF)
5+
46
if (${ENABLE_TESTS})
57
message(STATUS "ScanImageTiffIO: Testing is enabled")
68
enable_testing()

0 commit comments

Comments
 (0)