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} )