Merge pull request #646 from Bigpet/patch-1

Remove unused ${SOURCE_DIR}/include include path
This commit is contained in:
Petri Lehtinen 2023-03-29 22:07:32 +03:00 committed by GitHub
commit bde28463f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -602,9 +602,7 @@ foreach(p LIB BIN INCLUDE CMAKE)
endforeach()
# Generate the config file for the build-tree.
set(JANSSON__INCLUDE_DIRS
"${CMAKE_CURRENT_SOURCE_DIR}/include"
"${CMAKE_CURRENT_BINARY_DIR}/include")
set(JANSSON__INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/include")
set(JANSSON_INCLUDE_DIRS ${JANSSON__INCLUDE_DIRS} CACHE PATH "Jansson include directories")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/janssonConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/janssonConfig.cmake