Skip to content

Commit

Permalink
Trailing slash seems necessary in the install command to get contents
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerbino committed Sep 25, 2016
1 parent ab7c09d commit fe941a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit fe941a2

Please sign in to comment.