From ac59d06bb4fabbf3881b3ff8a0d1af8a53b1c16e Mon Sep 17 00:00:00 2001 From: tcezard Date: Sat, 12 Oct 2024 09:28:42 +0100 Subject: [PATCH] Include the dependencies folder --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4fa7ad3c..ed922731 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,7 @@ if (DEFINED STATIC_BUILD) set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd") # also requires boost with runtime-link=static add_definitions(-DCURL_STATICLIB) # Needed to statically link libcurl add_definitions(-DNOMINMAX) # Needed to suppress min and max definitions by Windows + include_directories (dependencies) set(CURL_INCLUDE_DIRS dependencies/curl/include) include_directories(${CURL_INCLUDE_DIRS}) set(CURL_LIBRARIES dependencies/curl/lib/libcurl) @@ -110,7 +111,7 @@ message("CMAKE_THREAD_LIBS_INIT: ${CMAKE_THREAD_LIBS_INIT}") set (THIRD_PARTY_LIBRARIES ${Boost_LIBRARIES} - ${CURL_LIBRARIES} + ${CURL_LIBRARIES} ${HARD_CODED_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} )