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)
|
||||
endif()
|
||||
|
||||
LIST(APPEND CMAKE_MODULE_PATH cmake)
|
||||
|
||||
# options
|
||||
|
||||
include(cmake/Option.cmake)
|
||||
|
@ -59,8 +61,6 @@ macro(target_link_threads NAME)
|
|||
endif()
|
||||
endmacro()
|
||||
|
||||
LIST(APPEND CMAKE_MODULE_PATH cmake)
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
# config
|
||||
|
|
Loading…
Reference in New Issue
Block a user