summaryrefslogtreecommitdiff
path: root/src/config.h.in
diff options
context:
space:
mode:
authorKevin Wojniak <kainjow@kainjow.com>2015-08-10 08:56:11 -0700
committerKevin Wojniak <kainjow@kainjow.com>2015-08-10 08:56:11 -0700
commitbb9f8086d4873defc0adee3e6b05327e41a3d885 (patch)
treec2a909d2f534c5654d3b7ee3482e52ba155c5c9c /src/config.h.in
parent50114ff73006e97bc60761191dfd0ac8024aea73 (diff)
Fix FileNotFoundError errors on tests when cmark is built from another project via add_subdirectory()
CMAKE_SOURCE_DIR will refer to the top-level source directory, not cmark, so CMAKE_CURRENT_SOURCE_DIR must be used. Also the same for CMAKE_BINARY_DIR. Ideally it should be using the TARGET_FILE CMake generator to get a target's location instead of hard coding the path, but that requires CMake 3.0 or greater.
Diffstat (limited to 'src/config.h.in')
0 files changed, 0 insertions, 0 deletions