From 3cad10545eca566bcf6c2bc3b5dd8b577a70493d Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 22 Dec 2019 11:17:48 -0800 Subject: build: use `CMAKE_INCLUDE_CURRENT_DIRECTORY` This uses the CMake mechanism for including the current source and binary directories. This avoids the custom handling for this. --- src/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9b7b4dd..d864f59 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -46,8 +46,6 @@ set(LIBRARY_SOURCES set(PROGRAM "cmark") set(PROGRAM_SOURCES main.c) -include_directories(. ${CMAKE_CURRENT_BINARY_DIR}) - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmark_version.h.in ${CMAKE_CURRENT_BINARY_DIR}/cmark_version.h) -- cgit v1.2.3