From 8c93966ef4d5514a93ae1b2a95244394c29aae69 Mon Sep 17 00:00:00 2001 From: "Craig Edwards (Brain)" Date: Sat, 9 Nov 2024 13:49:59 +0000 Subject: [PATCH] fix namespace include in cmakelists for mlspp, backport of mls++ fix (#1331) --- mlspp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mlspp/CMakeLists.txt b/mlspp/CMakeLists.txt index 52f26b5ba6..3e0cb45977 100755 --- a/mlspp/CMakeLists.txt +++ b/mlspp/CMakeLists.txt @@ -16,9 +16,10 @@ if(MLS_NAMESPACE_SUFFIX) set(MLS_CXX_NAMESPACE "mls_${MLS_NAMESPACE_SUFFIX}" CACHE STRING "Top-level Namespace for CXX") set(MLS_EXPORT_NAMESPACE "MLSPP${MLS_NAMESPACE_SUFFIX}" CACHE STRING "Namespace for CMake Export") else() - set(MLS_CXX_NAMESPACE "../include/dpp/mlspp/mls" CACHE STRING "Top-level Namespace for CXX") + set(MLS_CXX_NAMESPACE "mls" CACHE STRING "Top-level Namespace for CXX") set(MLS_EXPORT_NAMESPACE "MLSPP" CACHE STRING "Namespace for CMake Export") endif() + message(STATUS "CXX Namespace: ${MLS_CXX_NAMESPACE}") message(STATUS "CMake Export Namespace: ${MLS_EXPORT_NAMESPACE}")