]> granicus.if.org Git - json-c/commitdiff
Trailing slash seems necessary in the install command to get contents
authorSteve Gerbino <steve@gerbino.co>
Sun, 25 Sep 2016 19:04:05 +0000 (15:04 -0400)
committerSteve Gerbino <steve@gerbino.co>
Sun, 25 Sep 2016 19:04:05 +0000 (15:04 -0400)
CMakeLists.txt

index c2ff49289b9b0cc8a691931ff1eb4b06858375f1..0d7156f4576a2dc7d780cbca230f74af6b0fdd8d 100644 (file)
@@ -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")