summaryrefslogtreecommitdiffhomepage
path: root/example/smart_ptr_example
diff options
context:
space:
mode:
Diffstat (limited to 'example/smart_ptr_example')
-rw-r--r--example/smart_ptr_example/CMakeLists.txt6
-rw-r--r--example/smart_ptr_example/example.cpp (renamed from example/smart_ptr_example/example.cc)0
2 files changed, 3 insertions, 3 deletions
diff --git a/example/smart_ptr_example/CMakeLists.txt b/example/smart_ptr_example/CMakeLists.txt
index 6584ad2..09b8bd2 100644
--- a/example/smart_ptr_example/CMakeLists.txt
+++ b/example/smart_ptr_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(SmartPtrExample example.cc)
+add_executable(SmartPtrExample example.cpp)
set_property(TARGET SmartPtrExample PROPERTY CXX_STANDARD 20)
target_include_directories(SmartPtrExample PUBLIC ../../include/)
-target_link_libraries(SmartPtrExample PRIVATE Boost::container)
+target_link_libraries(SmartPtrExample PRIVATE Boost)
diff --git a/example/smart_ptr_example/example.cc b/example/smart_ptr_example/example.cpp
index abe5aaf..abe5aaf 100644
--- a/example/smart_ptr_example/example.cc
+++ b/example/smart_ptr_example/example.cpp