Inclusion of current's cmake module directory for nested projects

This commit is contained in:
Tobias Kussel 2018-05-30 10:43:44 +02:00
parent d9c4f22f30
commit 7cbce6dca6

View File

@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 3.1)
project (valijson)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
option(INSTALL_HEADERS "Install valijson Headers." FALSE)
option(BUILD_EXAMPLES "Build valijson Examples." FALSE)