From 757ec8d4efabfb7e37dae1b4fe46692e84121bc1 Mon Sep 17 00:00:00 2001 From: FeignClaims Date: Thu, 12 Sep 2024 18:19:28 +0800 Subject: [PATCH] fix(test): fix conan link issue on windows --- tests/myproj/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/myproj/CMakeLists.txt b/tests/myproj/CMakeLists.txt index ee28e291..284af9c4 100644 --- a/tests/myproj/CMakeLists.txt +++ b/tests/myproj/CMakeLists.txt @@ -96,12 +96,12 @@ target_link_libraries(main PRIVATE myproj_project_options myproj_project_warning target_find_dependencies(main PUBLIC + PACKAGE docopt CONFIG PACKAGE fmt CONFIG PACKAGE Eigen3 CONFIG - PACKAGE docopt CONFIG ) -target_link_system_libraries(main PRIVATE fmt::fmt Eigen3::Eigen docopt) +target_link_system_libraries(main PRIVATE docopt fmt::fmt Eigen3::Eigen) add_subdirectory(libs)