diff --git a/external_libs/CMakeLists.txt b/external_libs/CMakeLists.txt index a836f03c694a1c8cc2cdf6676c868b96296bd129..dd9f4dd28132b2e90675aea3dbcfd83ebe5b93de 100644 --- a/external_libs/CMakeLists.txt +++ b/external_libs/CMakeLists.txt @@ -1,17 +1,3 @@ -set (CPM_DOWNLOAD_VERSION 0.32.2) -set (CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake") - -if (NOT (EXISTS ${CPM_DOWNLOAD_LOCATION})) - message (STATUS "Downloading CPM.cmake") - file (DOWNLOAD https://github.com/TheLartians/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake - ${CPM_DOWNLOAD_LOCATION} - ) -else (NOT (EXISTS ${CPM_DOWNLOAD_LOCATION})) - message ("CPM already exists, do not need to download") -endif (NOT (EXISTS ${CPM_DOWNLOAD_LOCATION})) - -include (${CPM_DOWNLOAD_LOCATION}) - CPMAddPackage ( NAME asio URL https://www.steinberg.net/asiosdk