Skip to content

Commit c496f14

Browse files
make sure reflectcpp library namespace is also available when not installing (#458)
1 parent c06d3d5 commit c496f14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)