From c496f143e4c1f229230f72734103a7cab70c79fe Mon Sep 17 00:00:00 2001 From: Philemon Benner <56920372+BestITUserEUW@users.noreply.github.com> Date: Mon, 14 Jul 2025 08:44:28 +0200 Subject: [PATCH] make sure reflectcpp library namespace is also available when not installing (#458) --- 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()