From 95f5143fedac88036dd75ef06cba8d1b534fbb9b Mon Sep 17 00:00:00 2001 From: Ebben Aries Date: Thu, 16 Jun 2022 14:46:19 -0700 Subject: [PATCH] Fix wangle/CMakeLists.txt to honor CMAKE_INSTALL_LIBDIR --- wangle/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wangle/CMakeLists.txt b/wangle/CMakeLists.txt index 85ae066f2..9a1481fcf 100644 --- a/wangle/CMakeLists.txt +++ b/wangle/CMakeLists.txt @@ -53,9 +53,9 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(INCLUDE_INSTALL_DIR include CACHE STRING "The subdirectory where header files should be installed") -set(LIB_INSTALL_DIR lib CACHE STRING +set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR} CACHE STRING "The subdirectory where libraries should be installed") -set(CMAKE_INSTALL_DIR lib/cmake/wangle CACHE STRING +set(CMAKE_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/wangle CACHE STRING "The subdirectory where CMake package config files should be installed") # Try finding folly via its installed CMake configuration file.