Use local cmake module path the last
This commit is contained in:
parent
eada606992
commit
c334fa3ce9
@ -1,5 +1,3 @@
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
|
||||
|
||||
if (CONAN_AUTO_INSTALL)
|
||||
# Download automatically the cmake-conan integration file
|
||||
if(NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake")
|
||||
@ -30,6 +28,8 @@ else()
|
||||
list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR})
|
||||
endif()
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/")
|
||||
|
||||
find_package (Python3 COMPONENTS Interpreter)
|
||||
if (NOT Python3_Interpreter_FOUND)
|
||||
message(WARNING "Python3 was not found. Python tests under the 'tests' folder will not be executed")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user