build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk
authorAmol Bhave <ambhave@fb.com>
Mon, 24 Sep 2018 17:39:19 +0000 (10:39 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Sep 2018 15:23:11 +0000 (17:23 +0200)
commit366e6ef5c342f5926d9ab07166b8a40734393dc2
tree46b0625bc7880a6ae2d835aea161af3cb2da3871
parentbbf46c9f8feea755ceb8e33ccf91733c1c2b2a34
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