File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ target_link_libraries(boost_gil
36
36
Boost::variant2
37
37
)
38
38
39
- target_compile_features (boost_gil INTERFACE cxx_std_11 )
39
+ target_compile_features (boost_gil INTERFACE cxx_std_14 )
40
40
41
41
else ()
42
42
@@ -60,14 +60,14 @@ option(BOOST_GIL_ENABLE_EXT_RASTERIZATION "Enable Rasterization extension and te
60
60
option (BOOST_GIL_ENABLE_EXT_IMAGE_PROCESSING "Enable Image Processing extension (!) and tests" ON )
61
61
option (BOOST_GIL_USE_CONAN "Use Conan to install dependencies" OFF )
62
62
option (BOOST_GIL_USE_CLANG_TIDY "Set CMAKE_CXX_CLANG_TIDY property on targets to enable clang-tidy linting" OFF )
63
- set (CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard version to use (default is 11 )" )
63
+ set (CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard version to use (default is 14 )" )
64
64
65
65
#-----------------------------------------------------------------------------
66
66
# Project
67
67
#-----------------------------------------------------------------------------
68
68
project (Boost.GIL
69
69
LANGUAGES CXX
70
- DESCRIPTION "Boost.GIL - Generic Image Library | Requires C++11 since Boost 1.68 " )
70
+ DESCRIPTION "Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80 " )
71
71
72
72
list (INSERT CMAKE_MODULE_PATH 0 ${CMAKE_BINARY_DIR} /cmake)
73
73
@@ -140,7 +140,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
140
140
set (Boost_USE_STATIC_RUNTIME OFF )
141
141
endif ()
142
142
143
- find_package (Boost 1.72 .0 REQUIRED COMPONENTS filesystem)
143
+ find_package (Boost 1.80 .0 REQUIRED COMPONENTS filesystem)
144
144
message (STATUS "Boost.GIL: Using Boost_INCLUDE_DIRS=${Boost_INCLUDE_DIRS} " )
145
145
message (STATUS "Boost.GIL: Using Boost_LIBRARY_DIRS=${Boost_LIBRARY_DIRS} " )
146
146
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ foreach(_name
29
29
set (_target test_ext_toolbox_${_name} )
30
30
31
31
add_executable (${_target} "" )
32
- target_sources (${_target} PRIVATE ${_name} )
32
+ target_sources (${_target} PRIVATE " ${_name} .cpp" )
33
33
target_link_libraries (${_target}
34
34
PRIVATE
35
35
gil_compile_options
@@ -50,7 +50,7 @@ foreach(_name
50
50
set (_target test_ext_toolbox_${_name} )
51
51
52
52
add_executable (${_target} "" )
53
- target_sources (${_target} PRIVATE ${_name} )
53
+ target_sources (${_target} PRIVATE " ${_name} .cpp" )
54
54
target_link_libraries (${_target}
55
55
PRIVATE
56
56
gil_compile_options
You can’t perform that action at this time.
0 commit comments