From f92e6f13541bed5ee7ad16d2619ce677229f8a1c Mon Sep 17 00:00:00 2001 From: Martin Moene Date: Sat, 15 Oct 2022 12:19:53 +0200 Subject: [PATCH] Use toplevel unit_name (nonstd-lite-project 56) https://github.com/martinmoene/nonstd-lite-project/issues/56 --- example/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 4f72f74..dcb2323 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -11,7 +11,7 @@ endif() project( example LANGUAGES CXX ) -set( unit_name "bit" ) +# unit_name provided by toplevel CMakeLists.txt set( PACKAGE ${unit_name}-lite ) message( STATUS "Subproject '${PROJECT_NAME}'")