Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sguionni committed Jul 16, 2024
1 parent b7825f6 commit d22ea6a
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions lib/util/cmake/library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,11 @@ target_sources(vtx_util
PRIVATE ${SOURCES}
PUBLIC FILE_SET public_headers TYPE HEADERS BASE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../include" FILES ${HEADERS})

if (NOT DEFINED _VTX_UTIL_CONAN)
target_link_libraries(vtx_util glm::glm)
target_link_libraries(vtx_util spdlog::spdlog)
target_link_libraries(vtx_util nlohmann_json::nlohmann_json)
target_link_libraries(vtx_util magic_enum::magic_enum)
target_link_libraries(vtx_util cpr::cpr)
else()
target_link_libraries(vtx_util PRIVATE glm::glm)
target_link_libraries(vtx_util PRIVATE spdlog::spdlog)
target_link_libraries(vtx_util PRIVATE nlohmann_json::nlohmann_json)
target_link_libraries(vtx_util PRIVATE magic_enum::magic_enum)
target_link_libraries(vtx_util PRIVATE cpr::cpr)
endif()
target_link_libraries(vtx_util glm::glm)
target_link_libraries(vtx_util spdlog::spdlog)
target_link_libraries(vtx_util nlohmann_json::nlohmann_json)
target_link_libraries(vtx_util magic_enum::magic_enum)
target_link_libraries(vtx_util cpr::cpr)

# Tests.
file(GLOB_RECURSE TESTS "${CMAKE_CURRENT_LIST_DIR}/../test/*")
Expand Down

0 comments on commit d22ea6a

Please sign in to comment.