Replace std::filesystem with boost::filesystem.

Somehow, travis still doesn't support the right one.
This commit is contained in:
2019-09-12 14:59:24 +02:00
parent 4e5b3b5a15
commit ab91276fca
3 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12)
project(aoc2019)
find_package(Boost REQUIRED COMPONENTS program_options unit_test_framework)
find_package(Boost REQUIRED COMPONENTS program_options unit_test_framework filesystem)
add_library(AoCSolutions src/solutions.hpp src/solutions.cpp src/day01.cpp)
target_compile_features(AoCSolutions PUBLIC cxx_std_17)
@@ -13,7 +13,7 @@ target_link_libraries(runner AoCSolutions Boost::program_options)
add_executable(test_solutions tests/test_solutions.cpp)
target_compile_features(test_solutions PUBLIC cxx_std_17)
target_link_libraries(test_solutions AoCSolutions Boost::unit_test_framework)
target_link_libraries(test_solutions AoCSolutions Boost::unit_test_framework Boost::filesystem)
target_include_directories(test_solutions PRIVATE "${CMAKE_SOURCE_DIR}/src")
enable_testing()