diff options
author | Damjan Marion <damarion@cisco.com> | 2018-09-12 14:01:10 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-09-12 16:38:59 +0000 |
commit | 79dcbc74cd417f4caf41bc398ccba94cab7d656b (patch) | |
tree | 043a57b2a904636093ff08b44f97172d09c36114 /extras/vom/CMakeLists.txt | |
parent | 350155329c6075cef48b2d6934329a7ad75cf5c8 (diff) |
Always use 'lib' instead of 'lib64'
It is packaging responsibility to put libs in the right place.
Use of lib64 resulted in huge amount of files with hardcoded lib64.
This patch simplifies things...
Change-Id: Iab0dea0583e480907732c5d2379eb951a00fa9e6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'extras/vom/CMakeLists.txt')
-rw-r--r-- | extras/vom/CMakeLists.txt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/extras/vom/CMakeLists.txt b/extras/vom/CMakeLists.txt index d3557104fd8..e84e2a91850 100644 --- a/extras/vom/CMakeLists.txt +++ b/extras/vom/CMakeLists.txt @@ -18,16 +18,8 @@ project(vom) include(CheckCCompilerFlag) include(CheckCXXCompilerFlag) -if(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64.*|x86_64.*|AMD64.*") - set(VOM_LIB_DIR_NAME lib64) -elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)") - set(VOM_LIB_DIR_NAME lib64) -else() - set(VOM_LIB_DIR_NAME lib) -endif() - set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) -set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${VOM_LIB_DIR_NAME}) +set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) set(CMAKE_INSTALL_MESSAGE NEVER) find_package(Threads REQUIRED) |