diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2020-01-19 09:33:31 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-01-23 08:32:43 -0800 |
commit | 14622a194c2f640fb6b6e8edbfe9ec5bf9aecfd1 (patch) | |
tree | 1a3106d1a4d51ca1493ec002c64dc3a894aa3aae | |
parent | f3f50b29d615d2678d8047dc277b108cc5143167 (diff) |
build: use absolute path for cmarkTargets.cmake
Adjust the include of the CMake file to use a cmarkConfig.cmake relative
location which enables use without considerations for the path.
-rw-r--r-- | src/cmarkConfig.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmarkConfig.cmake.in b/src/cmarkConfig.cmake.in index fbf5cdf..9aae8a9 100644 --- a/src/cmarkConfig.cmake.in +++ b/src/cmarkConfig.cmake.in @@ -3,5 +3,5 @@ set(HAVE_LIBCMARK_SHARED @CMARK_SHARED@) if((HAVE_LIBCMARK_STATIC AND NOT TARGET libcmark_static) OR (HAVE_LIBCMARK_SHARED AND NOT TARGET libcmark)) - include(cmarkTargets.cmake) + include(${CMAKE_CURRENT_LIST_DIR}/cmarkTargets.cmake) endif() |