From 6ed0b308e8063c312f7cf2615aef67cc998f10ea Mon Sep 17 00:00:00 2001 From: Taylor Braun-Jones Date: Wed, 4 Feb 2015 13:49:55 -0500 Subject: [PATCH] Use LIB_SUFFIX convention for library install target This is a CMake convention largely to enable correct out-of-the-box support for Fedora (and derivatives) that installs native 64-bit libraries to /usr/lib64. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff99fecd..75ddf83c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,7 @@ IF(NOT OpenIGTLink_INSTALL_BIN_DIR) ENDIF(NOT OpenIGTLink_INSTALL_BIN_DIR) IF(NOT OpenIGTLink_INSTALL_LIB_DIR) - SET(OpenIGTLink_INSTALL_LIB_DIR "lib/igtl") + SET(OpenIGTLink_INSTALL_LIB_DIR "lib${LIB_SUFFIX}/igtl") ENDIF(NOT OpenIGTLink_INSTALL_LIB_DIR) IF(NOT OpenIGTLink_INSTALL_DATA_DIR)