mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-04 01:06:19 +08:00
make sure reflectcpp library namespace is also available when not installing (#458)
This commit is contained in:
@@ -134,6 +134,8 @@ else()
|
|||||||
add_library(reflectcpp STATIC)
|
add_library(reflectcpp STATIC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_library(reflectcpp::reflectcpp ALIAS reflectcpp)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
target_compile_options(reflectcpp PRIVATE $<$<CONFIG:Debug>:-Wall>)
|
target_compile_options(reflectcpp PRIVATE $<$<CONFIG:Debug>:-Wall>)
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user