cmark

My personal build of CMark ✏️

Commit
14622a194c2f640fb6b6e8edbfe9ec5bf9aecfd1
Parent
f3f50b29d615d2678d8047dc277b108cc5143167
Author
Saleem Abdulrasool <compnerd@compnerd.org>
Date

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.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/cmarkConfig.cmake.in 2 1 1
diff --git 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()