Skip to content
Snippets Groups Projects
Commit 629b1fc6 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

BUG: Correction for Install libraries directory for ITK.

parent 47b9e3bc
No related branches found
No related tags found
No related merge requests found
......@@ -272,7 +272,9 @@ IF(NOT ITK_INSTALL_BIN_DIR)
ENDIF(NOT ITK_INSTALL_BIN_DIR)
IF(NOT ITK_INSTALL_LIB_DIR)
SET(ITK_INSTALL_LIB_DIR "/lib/InsightToolkit")
# OTB Modifications
# SET(ITK_INSTALL_LIB_DIR "/lib/InsightToolkit")
SET(ITK_INSTALL_LIB_DIR "/lib/otb")
ENDIF(NOT ITK_INSTALL_LIB_DIR)
IF(NOT ITK_INSTALL_DATA_DIR)
......@@ -311,6 +313,9 @@ ELSE(ITK_BUILD_SHARED_LIBS)
ENDIF(ITK_INSTALL_NO_DEVELOPMENT)
ENDIF(ITK_BUILD_SHARED_LIBS)
# OTB Modifications: force install lib directory
SET(ITK_INSTALL_PACKAGE_DIR "lib/otb")
# Because INSTALL_* commands require a leading / and because INSTALL (cmake 2.4
# and newer) requires no leading / to install under INSTALL_PREFIX, we
# are stripping the leading /. In the future, there should be no leading
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment