summaryrefslogtreecommitdiffhomepage
path: root/example/option_example
diff options
context:
space:
mode:
Diffstat (limited to 'example/option_example')
-rw-r--r--example/option_example/CMakeLists.txt6
-rw-r--r--example/option_example/example.cpp (renamed from example/option_example/example.cc)0
2 files changed, 3 insertions, 3 deletions
diff --git a/example/option_example/CMakeLists.txt b/example/option_example/CMakeLists.txt
index a77d4c5..947c2e0 100644
--- a/example/option_example/CMakeLists.txt
+++ b/example/option_example/CMakeLists.txt
@@ -6,10 +6,10 @@ project(
VERSION 1.0
LANGUAGES CXX)
-find_package(Boost REQUIRED COMPONENTS container)
+find_package(Boost REQUIRED)
-add_executable(OptionExample example.cc)
+add_executable(OptionExample example.ccpp)
set_property(TARGET OptionExample PROPERTY CXX_STANDARD 20)
target_include_directories(OptionExample PUBLIC ../../include/)
-target_link_libraries(OptionExample PRIVATE Boost::container)
+target_link_libraries(OptionExample PRIVATE Boost)
diff --git a/example/option_example/example.cc b/example/option_example/example.cpp
index b2c3f95..b2c3f95 100644
--- a/example/option_example/example.cc
+++ b/example/option_example/example.cpp