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:
Matt Stancliff 2017-06-15 23:11:13 -04:00
parent 8b80bcdad8
commit fe79df3c90

View File

@ -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)