diff options
| author | Egor Tensin <egor@tensin.name> | 2026-03-29 17:58:26 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-03-30 10:10:47 +0200 |
| commit | cbf3d06d35bc3ca194a331fd68281834f6f149a5 (patch) | |
| tree | cae61f2688d76121583567dcfe5f38b0b01cd362 /examples/boost | |
| parent | project.boost.build: saner command line options (diff) | |
| download | cmake-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')
| -rw-r--r-- | examples/boost/CMakeLists.txt | 6 |
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) |
