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()