File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ ENDIF()
37
37
38
38
MESSAGE (STATUS "Running cmake version ${CMAKE_VERSION} " )
39
39
40
- SET (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR} /cmake )
40
+ SET (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
41
+ ${CMAKE_SOURCE_DIR} /cmake ${CMAKE_SOURCE_DIR} /cmake/Internal/CPack )
41
42
42
43
# Use a default manufacturer if no manufacturer was identified.
43
44
IF (NOT DEFINED MANUFACTURER )
Original file line number Diff line number Diff line change @@ -50,7 +50,11 @@ endif()
50
50
# load the original CPackRPM.cmake
51
51
set (orig_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} )
52
52
unset (CMAKE_MODULE_PATH )
53
- include (CPackRPM )
53
+ if (CMAKE_VERSION VERSION_GREATER "3.12.99" )
54
+ include (Internal /CPack/CPackRPM )
55
+ else ()
56
+ include (CPackRPM )
57
+ endif ()
54
58
set (CMAKE_MODULE_PATH ${orig_CMAKE_MODULE_PATH} )
55
59
56
60
restore (LICENSE )
You can’t perform that action at this time.
0 commit comments