diff options
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | utils/command_line.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 9952377..ce0ec07 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -1,9 +1,9 @@ -find_package(Boost CONFIG REQUIRED COMPONENTS filesystem program_options) +find_package(Boost CONFIG REQUIRED COMPONENTS program_options) function(add_util name src) add_executable("${name}" ${src}) target_link_libraries("${name}" PRIVATE winapi_debug) - target_link_libraries("${name}" PRIVATE Boost::disable_autolinking Boost::filesystem Boost::program_options) + target_link_libraries("${name}" PRIVATE Boost::disable_autolinking Boost::program_options) install(TARGETS "${name}" RUNTIME DESTINATION bin) if(MSVC) install(FILES "$<TARGET_PDB_FILE:${name}>" DESTINATION bin OPTIONAL) diff --git a/utils/command_line.hpp b/utils/command_line.hpp index 7537d51..8f4b949 100644 --- a/utils/command_line.hpp +++ b/utils/command_line.hpp @@ -5,10 +5,10 @@ #pragma once -#include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <exception> +#include <filesystem> #include <iostream> #include <ostream> #include <string> @@ -54,7 +54,7 @@ protected: private: static std::string extract_filename(char* path) { - return boost::filesystem::path{path}.filename().string(); + return std::filesystem::path{path}.filename().string(); } const std::string prog_name; |
