🚧 fix compilation

This commit is contained in:
Vladislav Nepogodin 2022-11-20 21:06:52 +04:00
parent fbd27568a2
commit 6eadc07fbd
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -14,7 +14,10 @@ list(APPEND test_SOURCES
add_library(test_libreq STATIC ${test_SOURCES}) add_library(test_libreq STATIC ${test_SOURCES})
target_include_directories(test_libreq PRIVATE ${CMAKE_BINARY_DIR}/include ${CMAKE_SOURCE_DIR}/include ${CMAKE_CURRENT_DIR}) target_include_directories(test_libreq PRIVATE ${CMAKE_BINARY_DIR}/include ${CMAKE_SOURCE_DIR}/include ${CMAKE_CURRENT_DIR})
target_link_libraries(test_libreq PRIVATE project_warnings project_options spdlog::spdlog fmt::fmt ftxui::component cpr::cpr range-v3::range-v3 ctre::ctre) target_link_libraries(test_libreq PRIVATE project_warnings project_options spdlog::spdlog fmt::fmt ftxui::component range-v3::range-v3 ctre::ctre)
if(NOT ENABLE_DEVENV)
target_link_libraries(test_libreq PRIVATE cpr::cpr)
endif()
############################################################################# #############################################################################
# one executable for each unit test file # one executable for each unit test file