ENH: add ability to use your own install directories
This commit is contained in:
parent
3cd1d6e9e1
commit
2696f7e0ea
|
@ -1,6 +1,10 @@
|
||||||
# By including this file, all files in the CMAKE_INSTALL_DEBUG_LIBRARIES,
|
# By including this file, all files in the CMAKE_INSTALL_DEBUG_LIBRARIES,
|
||||||
# will be installed with INSTALL_PROGRAMS into /bin for WIN32 and /lib
|
# will be installed with INSTALL_PROGRAMS into /bin for WIN32 and /lib
|
||||||
# for non-win32. If it is the MSVC compiler, then the microsoft run
|
# for non-win32. If CMAKE_SKIP_INSTALL_RULES is set to TRUE before including
|
||||||
|
# this file, then the INSTALL command is not called. The use can use
|
||||||
|
# the variable CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS to use a custom install
|
||||||
|
# command and install them into any directory they want.
|
||||||
|
# If it is the MSVC compiler, then the microsoft run
|
||||||
# time libraries will be found add automatically added to the
|
# time libraries will be found add automatically added to the
|
||||||
# CMAKE_INSTALL_DEBUG_LIBRARIES, and installed.
|
# CMAKE_INSTALL_DEBUG_LIBRARIES, and installed.
|
||||||
# If CMAKE_INSTALL_DEBUG_LIBRARIES is set and it is the MSVC
|
# If CMAKE_INSTALL_DEBUG_LIBRARIES is set and it is the MSVC
|
||||||
|
@ -118,11 +122,13 @@ ENDIF(MSVC)
|
||||||
# Include system runtime libraries in the installation if any are
|
# Include system runtime libraries in the installation if any are
|
||||||
# specified by CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS.
|
# specified by CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS.
|
||||||
IF(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
|
IF(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
|
||||||
IF(WIN32)
|
IF(NOT CMAKE_SKIP_INSTALL_RULES)
|
||||||
INSTALL_PROGRAMS(/bin ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
|
IF(WIN32)
|
||||||
ELSE(WIN32)
|
INSTALL_PROGRAMS(/bin ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
|
||||||
INSTALL_PROGRAMS(/lib ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
|
ELSE(WIN32)
|
||||||
ENDIF(WIN32)
|
INSTALL_PROGRAMS(/lib ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
|
||||||
|
ENDIF(WIN32)
|
||||||
|
ENDIF(NOT CMAKE_SKIP_INSTALL_RULES)
|
||||||
ENDIF(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
|
ENDIF(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue