From dede462d98c5678a8eebed1827cdcbdf8782b188 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Thu, 21 May 2020 16:36:00 -0700 Subject: [PATCH] Fix missing LIBRARY DESTINATION error for some versions of CMake Signed-off-by: William Brawner --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8fc170c..c4223fc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -114,7 +114,9 @@ if (PIHELPER_SHARED OR PIHELPER_EXECUTABLE) ${OPENSSL} ) - install(TARGETS libpihelpershared) + install(TARGETS libpihelpershared + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ) endif() if (PIHELPER_EXECUTABLE)