From d22f83c79763eb599799e97bb3e8d995f9e7513b Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 1 Feb 2020 15:22:43 -0500 Subject: [PATCH] curl fix --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0ce6b8..79c1fc9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,8 @@ target_compile_options(sist2 -fomit-frame-pointer ) +target_link_directories(sist2 PRIVATE /usr/local/lib) + TARGET_LINK_LIBRARIES( sist2 @@ -133,7 +135,7 @@ TARGET_LINK_LIBRARIES( # curl ${PROJECT_SOURCE_DIR}/lib/libcurl.a - -L/usr/local/lib ssl crypto + ssl crypto ) add_custom_target(