Skip to content

Commit deec824

Browse files
committed
fix(cmake): export vix_json as vix::json for standalone package
1 parent 5055584 commit deec824

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ include(FetchContent)
1818
add_library(vix_json INTERFACE)
1919
add_library(vix::json ALIAS vix_json)
2020

21+
set_target_properties(vix_json PROPERTIES
22+
EXPORT_NAME json
23+
)
24+
2125
target_compile_features(vix_json INTERFACE cxx_std_20)
2226

2327
target_include_directories(vix_json INTERFACE

0 commit comments

Comments
 (0)