diff options
Diffstat (limited to 'depends/hoedown')
-rw-r--r-- | depends/hoedown/CMakeLists.txt | 23 | ||||
-rw-r--r-- | depends/hoedown/include/hoedown/autolink.h (renamed from depends/hoedown/hoedown/autolink.h) | 0 | ||||
-rw-r--r-- | depends/hoedown/include/hoedown/buffer.h (renamed from depends/hoedown/hoedown/buffer.h) | 0 | ||||
-rw-r--r-- | depends/hoedown/include/hoedown/document.h (renamed from depends/hoedown/hoedown/document.h) | 0 | ||||
-rw-r--r-- | depends/hoedown/include/hoedown/escape.h (renamed from depends/hoedown/hoedown/escape.h) | 0 | ||||
-rw-r--r-- | depends/hoedown/include/hoedown/html.h (renamed from depends/hoedown/hoedown/html.h) | 0 | ||||
-rw-r--r-- | depends/hoedown/include/hoedown/stack.h (renamed from depends/hoedown/hoedown/stack.h) | 0 | ||||
-rw-r--r-- | depends/hoedown/include/hoedown/version.h (renamed from depends/hoedown/hoedown/version.h) | 0 |
8 files changed, 10 insertions, 13 deletions
diff --git a/depends/hoedown/CMakeLists.txt b/depends/hoedown/CMakeLists.txt index b4ef8ef9..7902e734 100644 --- a/depends/hoedown/CMakeLists.txt +++ b/depends/hoedown/CMakeLists.txt @@ -1,14 +1,14 @@ # hoedown 3.0.2 - https://github.com/hoedown/hoedown/archive/3.0.2.tar.gz -project(hoedown) +project(hoedown LANGUAGES C VERSION 3.0.2) set(HOEDOWN_SOURCES -hoedown/autolink.h -hoedown/buffer.h -hoedown/document.h -hoedown/escape.h -hoedown/html.h -hoedown/stack.h -hoedown/version.h +include/hoedown/autolink.h +include/hoedown/buffer.h +include/hoedown/document.h +include/hoedown/escape.h +include/hoedown/html.h +include/hoedown/stack.h +include/hoedown/version.h src/autolink.c src/buffer.c src/document.c @@ -20,10 +20,7 @@ src/stack.c src/version.c ) -# Set the include dir path. -set(HOEDOWN_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" PARENT_SCOPE) - # Include self. -include_directories(${CMAKE_CURRENT_SOURCE_DIR}) - add_library(hoedown STATIC ${HOEDOWN_SOURCES}) + +target_include_directories(hoedown PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) diff --git a/depends/hoedown/hoedown/autolink.h b/depends/hoedown/include/hoedown/autolink.h index 528885c9..528885c9 100644 --- a/depends/hoedown/hoedown/autolink.h +++ b/depends/hoedown/include/hoedown/autolink.h diff --git a/depends/hoedown/hoedown/buffer.h b/depends/hoedown/include/hoedown/buffer.h index d7703f8d..d7703f8d 100644 --- a/depends/hoedown/hoedown/buffer.h +++ b/depends/hoedown/include/hoedown/buffer.h diff --git a/depends/hoedown/hoedown/document.h b/depends/hoedown/include/hoedown/document.h index a8178fec..a8178fec 100644 --- a/depends/hoedown/hoedown/document.h +++ b/depends/hoedown/include/hoedown/document.h diff --git a/depends/hoedown/hoedown/escape.h b/depends/hoedown/include/hoedown/escape.h index d7659c27..d7659c27 100644 --- a/depends/hoedown/hoedown/escape.h +++ b/depends/hoedown/include/hoedown/escape.h diff --git a/depends/hoedown/hoedown/html.h b/depends/hoedown/include/hoedown/html.h index e46e7fd6..e46e7fd6 100644 --- a/depends/hoedown/hoedown/html.h +++ b/depends/hoedown/include/hoedown/html.h diff --git a/depends/hoedown/hoedown/stack.h b/depends/hoedown/include/hoedown/stack.h index bf9b439b..bf9b439b 100644 --- a/depends/hoedown/hoedown/stack.h +++ b/depends/hoedown/include/hoedown/stack.h diff --git a/depends/hoedown/hoedown/version.h b/depends/hoedown/include/hoedown/version.h index 4938cae5..4938cae5 100644 --- a/depends/hoedown/hoedown/version.h +++ b/depends/hoedown/include/hoedown/version.h |