diff --git a/cmake/External.cmake b/cmake/External.cmake index d513efc2..e24a1c31 100644 --- a/cmake/External.cmake +++ b/cmake/External.cmake @@ -16,7 +16,7 @@ if (APPLE) endif() # Set the configuration -configure_file(${CMAKE_SOURCE_DIR}/cmake/extern/CURL.txt.in +configure_file(${CMAKE_INSTALL_PREFIX}/cmake/extern/CURL.txt.in ${EXTERNAL_LIBRARY_DIR}/curl/CMakeLists.txt) # Execute Git Clone and run Cmake diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2941b712..7e0ae447 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,7 +7,7 @@ project(ark_cpp_client C CXX) # External Libraries # ------------------------------------------------------------------------------ -include(${CMAKE_SOURCE_DIR}/cmake/External.cmake) +include(${CMAKE_INSTALL_PREFIX}/cmake/External.cmake) # ------------------------------------------------------------------------------