diff --git a/CMakeLists.txt b/CMakeLists.txt index c8dc23e5f5b..b924921e418 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1802,6 +1802,7 @@ if(KEYFINDER) -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH= -DCMAKE_PREFIX_PATH:PATH="${CMAKE_PREFIX_PATH}" + -DCMAKE_INSTALL_LIBDIR=${CMAKE_INSTALL_LIBDIR} -DBUILD_TESTING=OFF BUILD_COMMAND ${CMAKE_COMMAND} --build . BUILD_BYPRODUCTS /${KeyFinder_LIBRARY}