diff --git a/bgrive/CMakeLists.txt b/bgrive/CMakeLists.txt index 074ab383..7bb32692 100644 --- a/bgrive/CMakeLists.txt +++ b/bgrive/CMakeLists.txt @@ -40,4 +40,3 @@ set_target_properties( bgrive_executable ) install(TARGETS bgrive_executable RUNTIME DESTINATION bin) -install(FILES doc/grive.1 DESTINATION share/man/man1 ) diff --git a/cmake/Modules/FindJSONC.cmake b/cmake/Modules/FindJSONC.cmake index f72e8ea1..8e4f1fc9 100644 --- a/cmake/Modules/FindJSONC.cmake +++ b/cmake/Modules/FindJSONC.cmake @@ -6,8 +6,8 @@ # JSONC_INCLUDE_DIR - The JSON-C include directory. # JSONC_LIBRARY - The JSON-C library to link against. -FIND_PATH(JSONC_INCLUDE_DIR json/json.h) -FIND_LIBRARY(JSONC_LIBRARY NAMES json) +FIND_PATH(JSONC_INCLUDE_DIR json-c/json.h) +FIND_LIBRARY(JSONC_LIBRARY NAMES json-c) IF (JSONC_INCLUDE_DIR AND JSONC_LIBRARY) SET(JSONC_FOUND TRUE)