aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/static/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-01-21 13:51:27 +0100
committerEgor Tensin <egor@tensin.name>2026-01-21 13:51:30 +0100
commitcfa34eacc0369cf09405f4d0cdb16a9422f96c23 (patch)
tree52f0ed6163c37453e9df4539898566a1854e8516 /examples/static/CMakeLists.txt
parentcommon.cmake: fix CC_STATIC_RUNTIME w/r/t Boost (diff)
downloadcmake-common-cfa34eacc0369cf09405f4d0cdb16a9422f96c23.tar.gz
cmake-common-cfa34eacc0369cf09405f4d0cdb16a9422f96c23.zip
examples: get rid of common.cmake
This has been done for the boost example anyway, and I'm planning to do this.
Diffstat (limited to 'examples/static/CMakeLists.txt')
-rw-r--r--examples/static/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/static/CMakeLists.txt b/examples/static/CMakeLists.txt
index b03d452..7af642d 100644
--- a/examples/static/CMakeLists.txt
+++ b/examples/static/CMakeLists.txt
@@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.8)
project(example_static)
-include(../../common.cmake)
-
add_library(bar bar.cpp)
target_include_directories(bar PUBLIC .)
@@ -11,4 +9,3 @@ add_executable(foo foo.cpp)
target_link_libraries(foo PRIVATE bar)
install(TARGETS foo bar RUNTIME DESTINATION bin ARCHIVE DESTINATION lib)
-install_pdbs(TARGETS foo DESTINATION bin)