Skip to content
Snippets Groups Projects
Commit ad8ad2ef authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Fix logic around CPM inclusion

parent 8131310c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,9 @@ include_guard ()
include (${CMAKE_CURRENT_LIST_DIR}/InitProject.cmake)
# Check for CPM
file (GLOB CPM_MODULE_LOCATION ${CMAKE_BINARY_DIR}/cmake/CPM*.cmake)
file (GLOB CPM_MODULE_LOCATIONS ${CMAKE_BINARY_DIR}/cmake/CPM*.cmake)
list(GET CPM_MODULE_LOCATIONS -1 CPM_MODULE_LOCATION)
if (NOT (EXISTS ${CPM_MODULE_LOCATION}))
set (CPM_DOWNLOAD_VERSION 0.37.0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment