Skip to content

Commit

Permalink
fixed install directory of libjson
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiyoshika committed Jun 12, 2023
1 parent 00d912f commit 075a8f8
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 @@ -46,7 +46,7 @@ write_basic_package_version_file(
COMPATIBILITY SameMajorVersion)

file(GLOB JSONHEADERS include/*.h)
install(TARGETS json DESTINATION ${CMAKE_INSTALL_LIBDIR}/json)
install(TARGETS json DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${JSONHEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/json)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jsonConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/json)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jsonConfigVersion.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/json)

0 comments on commit 075a8f8

Please sign in to comment.