Look into curent dir for includes

master
Melroy van den Berg 2020-11-19 04:35:30 +01:00
parent 398eaa67bd
commit 0c7a290075
2 changed files with 8 additions and 8 deletions

View File

@ -3,6 +3,8 @@ set(PROJECT_VERSION_MINOR 29)
set(PROJECT_VERSION_PATCH 0)
set(PROJECT_VERSION_GFM 0)
set (CMAKE_INCLUDE_CURRENT_DIR ON)
set(HEADERS
cmark-gfm.h
cmark-gfm-extension_api.h
@ -121,11 +123,3 @@ endif()
add_library (LibCommonMarker ${LIBRARY_SOURCES})
target_include_directories(LibCommonMarker PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
install(FILES
cmark-gfm.h
cmark-gfm-extension_api.h
${CMAKE_CURRENT_BINARY_DIR}/cmark-gfm_export.h
${CMAKE_CURRENT_BINARY_DIR}/cmark-gfm_version.h
DESTINATION include
)

6
misc/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM danger89/cmake:3.1
RUN apt-get update \
&& apt-get install -y qt5-default \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*