@@ -22,28 +22,18 @@ set(ICEBERG_REST_SHARED_BUILD_INTERFACE_LIBS)
2222set (ICEBERG_REST_STATIC_INSTALL_INTERFACE_LIBS)
2323set (ICEBERG_REST_SHARED_INSTALL_INTERFACE_LIBS)
2424
25- list (APPEND
26- ICEBERG_REST_STATIC_BUILD_INTERFACE_LIBS
27- "$<IF :$<TARGET_EXISTS :iceberg_static >,iceberg_static ,iceberg_shared >"
28- cpr::cpr
29- nlohmann_json::nlohmann_json)
30- list (APPEND
31- ICEBERG_REST_SHARED_BUILD_INTERFACE_LIBS
32- "$<IF :$<TARGET_EXISTS :iceberg_shared >,iceberg_shared ,iceberg_static >"
33- cpr::cpr
34- nlohmann_json::nlohmann_json)
25+ list (APPEND ICEBERG_REST_STATIC_BUILD_INTERFACE_LIBS
26+ "$<IF :$<TARGET_EXISTS :iceberg_static >,iceberg_static ,iceberg_shared >" cpr::cpr)
27+ list (APPEND ICEBERG_REST_SHARED_BUILD_INTERFACE_LIBS
28+ "$<IF :$<TARGET_EXISTS :iceberg_shared >,iceberg_shared ,iceberg_static >" cpr::cpr)
3529list (APPEND
3630 ICEBERG_REST_STATIC_INSTALL_INTERFACE_LIBS
3731 "$<IF :$<TARGET_EXISTS :Iceberg ::iceberg_static >,Iceberg ::iceberg_static ,Iceberg ::iceberg_shared >"
38- "$<IF :$<BOOL :${CPR_VENDORED} >,Iceberg ::cpr ,cpr ::cpr >"
39- "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,Iceberg ::nlohmann_json ,nlohmann_json ::nlohmann_json >"
40- )
32+ "$<IF :$<BOOL :${CPR_VENDORED} >,Iceberg ::cpr ,cpr ::cpr >" )
4133list (APPEND
4234 ICEBERG_REST_SHARED_INSTALL_INTERFACE_LIBS
4335 "$<IF :$<TARGET_EXISTS :Iceberg ::iceberg_shared >,Iceberg ::iceberg_shared ,Iceberg ::iceberg_static >"
44- "$<IF :$<BOOL :${CPR_VENDORED} >,Iceberg ::cpr ,cpr ::cpr >"
45- "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,Iceberg ::nlohmann_json ,nlohmann_json ::nlohmann_json >"
46- )
36+ "$<IF :$<BOOL :${CPR_VENDORED} >,Iceberg ::cpr ,cpr ::cpr >" )
4737add_iceberg_lib (iceberg_rest
4838 SOURCES
4939 ${ICEBERG_REST_SOURCES}
0 commit comments