mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-23 07:10:03 +02:00
fixed linking to lmfit
This commit is contained in:
parent
dcb9a98faa
commit
8ff6f9f506
@ -98,8 +98,6 @@ if(AARE_FETCH_LMFIT)
|
|||||||
FetchContent_MakeAvailable(lmfit)
|
FetchContent_MakeAvailable(lmfit)
|
||||||
set_property(TARGET lmfit PROPERTY POSITION_INDEPENDENT_CODE ON)
|
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()
|
else()
|
||||||
find_package(lmfit REQUIRED)
|
find_package(lmfit REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
@ -370,7 +368,7 @@ target_link_libraries(
|
|||||||
${STD_FS_LIB} # from helpers.cmake
|
${STD_FS_LIB} # from helpers.cmake
|
||||||
PRIVATE
|
PRIVATE
|
||||||
aare_compiler_flags
|
aare_compiler_flags
|
||||||
lmfit
|
"$<BUILD_INTERFACE:lmfit>"
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(aare_core PROPERTIES
|
set_target_properties(aare_core PROPERTIES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user