From a128272816d635af9f14db24d92d3e6ea342f34e Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 24 Jun 2020 13:57:27 +0100 Subject: [PATCH] Fix CMake include paths --- CMakeModules/FindCURL.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeModules/FindCURL.cmake b/CMakeModules/FindCURL.cmake index 919babcd..7dc60b5a 100644 --- a/CMakeModules/FindCURL.cmake +++ b/CMakeModules/FindCURL.cmake @@ -50,7 +50,7 @@ Set ``CURL_NO_CURL_CMAKE`` to ``ON`` to disable this search. #]=======================================================================] -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) +include(FindPackageHandleStandardArgs) if(NOT CURL_NO_CURL_CMAKE) # do a find package call to specifically look for the CMake version @@ -104,7 +104,7 @@ if(NOT CURL_LIBRARY) ) mark_as_advanced(CURL_LIBRARY_DEBUG) - include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) + include(SelectLibraryConfigurations) select_library_configurations(CURL) endif()