We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14bb75f commit a0663beCopy full SHA for a0663be
CMakeLists.txt
@@ -38,6 +38,11 @@ if(NOT ${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
38
else()
39
set(CPM_RELEASE TRUE)
40
endif()
41
+ # Trick to use the find_package
42
+ configure_file(
43
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/CPM.cmake" "${CMAKE_CURRENT_BINARY_DIR}/CPM.cmake" COPYONLY
44
+ )
45
+ set(CPM_DIR "${CMAKE_CURRENT_BINARY_DIR}")
46
include(cmake/CPM.cmake)
47
48
0 commit comments