Skip to content

Commit 634fc3d

Browse files
committed
make sure reflectcpp library namespace is also available when not installing
1 parent c06d3d5 commit 634fc3d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ else()
134134
add_library(reflectcpp STATIC)
135135
endif()
136136

137+
add_library(reflectcpp::reflectcpp ALIAS reflectcpp)
138+
137139
if (MSVC)
138140
target_compile_options(reflectcpp PRIVATE $<$<CONFIG:Debug>:-Wall>)
139141
else()

0 commit comments

Comments
 (0)