9 lines
481 B
CMake
9 lines
481 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
project(StructiveInstallConsumer LANGUAGES CXX)
|
|
include(CTest)
|
|
find_package(Structive CONFIG REQUIRED COMPONENTS Core Extensions)
|
|
add_executable(structive_install_consumer main.cpp)
|
|
target_link_libraries(structive_install_consumer PRIVATE structive::property_core structive::property_extensions)
|
|
target_compile_features(structive_install_consumer PRIVATE cxx_std_20)
|
|
add_test(NAME structive_install_consumer COMMAND structive_install_consumer)
|