# Copyright 2026 Haply Robotics Inc. All rights reserved.
add_executable(06-haply-inverse-combined 06-haply-inverse-combined.cpp)
target_include_directories(06-haply-inverse-combined PUBLIC ${PROJECT_SOURCE_DIR})
target_compile_features(06-haply-inverse-combined PUBLIC cxx_std_11)
target_link_libraries(06-haply-inverse-combined PRIVATE hv_static nlohmann_json::nlohmann_json)
install(TARGETS 06-haply-inverse-combined)

# Glaze variant (C++20)
add_executable(06-haply-inverse-combined-glz 06-haply-inverse-combined-glz.cpp)
target_include_directories(06-haply-inverse-combined-glz PUBLIC ${PROJECT_SOURCE_DIR})
target_compile_features(06-haply-inverse-combined-glz PUBLIC cxx_std_20)
target_link_libraries(06-haply-inverse-combined-glz PRIVATE hv_static glaze::glaze)
install(TARGETS 06-haply-inverse-combined-glz)
