Skip to content

Commit

Permalink
build: use absolute path for cmarkTargets.cmake
Browse files Browse the repository at this point in the history
Adjust the include of the CMake file to use a cmarkConfig.cmake relative
location which enables use without considerations for the path.
  • Loading branch information
compnerd committed Jan 19, 2020
1 parent 4ac601f commit 9887463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmarkConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 9887463

Please sign in to comment.