cmake_minimum_required(VERSION 4.0) project(VoidSystemOnlyConsumer LANGUAGES CXX) find_package(Void CONFIG REQUIRED COMPONENTS System) add_executable(void_system_only_consumer main.cpp) target_link_libraries(void_system_only_consumer PRIVATE Void::System) target_compile_features(void_system_only_consumer PRIVATE cxx_std_26) enable_testing() add_test(NAME SystemOnlyConsumer COMMAND void_system_only_consumer)