Files
Library/tests/package/StorageOnly/CMakeLists.txt
T

12 lines
422 B
CMake

cmake_minimum_required(VERSION 4.0)
project(VoidStorageOnlyConsumer LANGUAGES CXX)
find_package(Void CONFIG REQUIRED COMPONENTS Storage)
add_executable(void_storage_only_consumer main.cpp)
target_link_libraries(void_storage_only_consumer PRIVATE Void::Storage)
target_compile_features(void_storage_only_consumer PRIVATE cxx_std_26)
enable_testing()
add_test(NAME StorageOnlyConsumer COMMAND void_storage_only_consumer)