From e020fbdab6ec7ded72080ef8b5f75f58d17eda24 Mon Sep 17 00:00:00 2001 From: Shatur95 Date: Mon, 5 Oct 2020 20:52:20 +0300 Subject: [PATCH] Use DESTINATION instead of TYPE For compatibility with older CMake. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 747fb5459a..e12e5c282d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -704,7 +704,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tesseract.pc DESTINATION lib/pkgconfig install(TARGETS tesseract RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) install(TARGETS libtesseract EXPORT TesseractTargets RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) install(EXPORT TesseractTargets DESTINATION lib/tesseract) -install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cmake TYPE LIB) +install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cmake DESTINATION lib) install(FILES # from api/makefile.am