From 785986f47a9c435c42887c5ed391e121a46dbbca Mon Sep 17 00:00:00 2001 From: Neil Kichler <96552378+neilkichler@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:59:35 +0200 Subject: [PATCH] add optional cmake project namespace prefix --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8b038ef..4f26c3b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -33,6 +33,7 @@ FetchContent_MakeAvailable(PackageProject) packageProject( NAME ${PROJECT_NAME} VERSION ${PROJECT_VERSION} + NAMESPACE ${PROJECT_NAME} BINARY_DIR ${PROJECT_BINARY_DIR} INCLUDE_DIR ${INCLUDE_PATH} INCLUDE_DESTINATION include/${PROJECT_NAME}-${PROJECT_VERSION}