fix(cmake): ensure find package with local module firstly
This commit is contained in:
parent
f4195c3d54
commit
ab6a9b03a3
|
@ -22,6 +22,8 @@ if(NOT CMAKE_DEBUG_POSTFIX)
|
||||||
set(CMAKE_DEBUG_POSTFIX d)
|
set(CMAKE_DEBUG_POSTFIX d)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_MODULE_PATH cmake)
|
||||||
|
|
||||||
# options
|
# options
|
||||||
|
|
||||||
include(cmake/Option.cmake)
|
include(cmake/Option.cmake)
|
||||||
|
@ -59,8 +61,6 @@ macro(target_link_threads NAME)
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
LIST(APPEND CMAKE_MODULE_PATH cmake)
|
|
||||||
|
|
||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
|
|
||||||
# config
|
# config
|
||||||
|
|
Loading…
Reference in New Issue
Block a user