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(