From 8ff6f9f506efecbe9e8274bdf673f2b850aed1ac Mon Sep 17 00:00:00 2001 From: froejdh_e Date: Tue, 18 Feb 2025 15:49:46 +0100 Subject: [PATCH] fixed linking to lmfit --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62a3878..624259a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,8 +98,6 @@ if(AARE_FETCH_LMFIT) FetchContent_MakeAvailable(lmfit) set_property(TARGET lmfit PROPERTY POSITION_INDEPENDENT_CODE ON) - target_include_directories (lmfit PUBLIC "${libzmq_SOURCE_DIR}/lib") - message(STATUS "lmfit include dir: ${lmfit_SOURCE_DIR}/lib") else() find_package(lmfit REQUIRED) endif() @@ -370,7 +368,7 @@ target_link_libraries( ${STD_FS_LIB} # from helpers.cmake PRIVATE aare_compiler_flags - lmfit + "$" ) set_target_properties(aare_core PROPERTIES