From cbf3d06d35bc3ca194a331fd68281834f6f149a5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 29 Mar 2026 17:58:26 +0200 Subject: examples: finalize the removal of common.cmake In addition, command line arguments have been overhauled for sanity and consistency. --- examples/boost/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/boost') 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) -- cgit v1.3