From 634fc3df587ff2609a5efc44bffeaa3f814c2aea Mon Sep 17 00:00:00 2001 From: BestITUserEUW Date: Sat, 12 Jul 2025 00:15:41 +0200 Subject: [PATCH] make sure reflectcpp library namespace is also available when not installing --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9f92f0a..6ade4cc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,6 +134,8 @@ else() add_library(reflectcpp STATIC) endif() +add_library(reflectcpp::reflectcpp ALIAS reflectcpp) + if (MSVC) target_compile_options(reflectcpp PRIVATE $<$:-Wall>) else()