Fix CMake module include path
Need to search the current directory, not the overall project root directory if this is being included as a sub-dependency of another project.
This commit is contained in:
parent
f3e7ad5b06
commit
3cf0bc1226
@ -4,7 +4,7 @@ include(CheckLibraryExists)
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckTypeSize)
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}" ${CMAKE_MODULE_PATH})
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}" ${CMAKE_MODULE_PATH})
|
||||
include(cmake_export_symbol)
|
||||
|
||||
project (LibreSSL C)
|
||||
|
Loading…
x
Reference in New Issue
Block a user