Skip to content

Commit

Permalink
fix namespace include in cmakelists for mlspp, backport of mls++ fix (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis authored Nov 9, 2024
1 parent 6d8f746 commit 8c93966
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mlspp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit 8c93966

Please sign in to comment.