build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk
authorAmol Bhave <ambhave@fb.com>
Tue, 2 Oct 2018 15:48:27 +0000 (08:48 -0700)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 4 Oct 2018 20:26:22 +0000 (22:26 +0200)
commitb3c64797db86b4c2ff315a25ce063b983e4ae71c
treedb6ba026f4c8e23d9c456d7978bbf4716398f85b
parent149dcc26d132dffa6f0ee92878c5954bb95bfe79
build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk

Sometimes, the CMakeLists.txt file is not in the root directory of a
repo. In those cases, the CMAKE_SOURCE_SUBDIR variable can be specified
to use CMakeLists.txt from a subdirectory instead.

Signed-off-by: Amol Bhave <ambhave@fb.com>
include/cmake.mk