aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/boost/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-03-29 17:58:26 +0200
committerEgor Tensin <egor@tensin.name>2026-03-30 10:10:47 +0200
commitcbf3d06d35bc3ca194a331fd68281834f6f149a5 (patch)
treecae61f2688d76121583567dcfe5f38b0b01cd362 /examples/boost/CMakeLists.txt
parentproject.boost.build: saner command line options (diff)
downloadcmake-common-cbf3d06d35bc3ca194a331fd68281834f6f149a5.tar.gz
cmake-common-cbf3d06d35bc3ca194a331fd68281834f6f149a5.zip
examples: finalize the removal of common.cmake
In addition, command line arguments have been overhauled for sanity and consistency.
Diffstat (limited to 'examples/boost/CMakeLists.txt')
-rw-r--r--examples/boost/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/boost/CMakeLists.txt b/examples/boost/CMakeLists.txt
index e7ac156..0e92e38 100644
--- a/examples/boost/CMakeLists.txt
+++ b/examples/boost/CMakeLists.txt
@@ -1,12 +1,12 @@
-cmake_minimum_required(VERSION 3.8)
+cmake_minimum_required(VERSION 3.15)
project(example_boost)
-include(../../common.cmake)
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Boost REQUIRED COMPONENTS filesystem)
add_executable(foo foo.cpp)
target_link_libraries(foo PRIVATE Boost::disable_autolinking Boost::filesystem)
install(TARGETS foo RUNTIME DESTINATION bin)
-install_pdbs(TARGETS foo DESTINATION bin)