From: Steve Gerbino Date: Sun, 25 Sep 2016 19:04:05 +0000 (-0400) Subject: Trailing slash seems necessary in the install command to get contents X-Git-Tag: json-c-0.13-20171207~120^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe941a26a3298b5ec70cce1578520484afa2a586;p=thirdparty%2Fjson-c.git Trailing slash seems necessary in the install command to get contents --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c2ff4928..0d7156f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,4 +64,4 @@ install(TARGETS json-c ARCHIVE DESTINATION lib) install(DIRECTORY . DESTINATION ${CMAKE_INSTALL_PREFIX}/include FILES_MATCHING PATTERN "*.h") -install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include DESTINATION ${CMAKE_INSTALL_PREFIX}/include FILES_MATCHING PATTERN "*.h") +install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include FILES_MATCHING PATTERN "*.h")