Update CMakeLists.txt
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
This commit is contained in:
parent
a244effa91
commit
49912a423e
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ mapnik_find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS regex)
|
|||
if(CMAKE_CXX_STANDARD LESS 17)
|
||||
set(USE_BOOST_FILESYSTEM ON)
|
||||
endif()
|
||||
if(CMAKE_CXX_STANDARD LESS 17 OR USE_BOOST_FILESYSTEM)
|
||||
if(USE_BOOST_FILESYSTEM)
|
||||
mapnik_find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS filesystem system)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue