From 14622a194c2f640fb6b6e8edbfe9ec5bf9aecfd1 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 19 Jan 2020 09:33:31 -0800 Subject: 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. --- src/cmarkConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3