mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
cmake: CMAKE_MODULE_PATH is a list and empty by default
we should not reference it using ${CMAKE_MODULE_PATH} before assigning to it. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
25c76b19a6
commit
ec84d7169b
@ -17,7 +17,7 @@ if (POLICY CMP0023)
|
||||
cmake_policy(SET CMP0023 OLD)
|
||||
endif (POLICY CMP0023)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
|
||||
|
||||
option(WITH_CCACHE "Build with ccache.")
|
||||
if(WITH_CCACHE)
|
||||
|
Loading…
Reference in New Issue
Block a user