mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚧 fix compilation
This commit is contained in:
parent
1c7aa2576f
commit
66eb980c9e
@ -17,7 +17,7 @@ list(APPEND 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_link_libraries(test_libreq PRIVATE project_warnings project_options spdlog::spdlog fmt::fmt ftxui::component 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 tomlplusplus::tomlplusplus)
|
||||
if(NOT ENABLE_DEVENV)
|
||||
target_link_libraries(test_libreq PRIVATE cpr::cpr)
|
||||
endif()
|
||||
@ -38,7 +38,7 @@ foreach(file ${files})
|
||||
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations>
|
||||
)
|
||||
target_include_directories(${testcase} PRIVATE ${CMAKE_BINARY_DIR}/include ${CMAKE_SOURCE_DIR}/include ${CMAKE_CURRENT_DIR})
|
||||
target_link_libraries(${testcase} PRIVATE project_warnings project_options test_libreq spdlog::spdlog fmt::fmt ftxui::component range-v3::range-v3 ctre::ctre)
|
||||
target_link_libraries(${testcase} PRIVATE project_warnings project_options test_libreq spdlog::spdlog fmt::fmt ftxui::component range-v3::range-v3 ctre::ctre tomlplusplus::tomlplusplus)
|
||||
if(NOT ENABLE_DEVENV)
|
||||
target_link_libraries(${testcase} PRIVATE cpr::cpr)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user