Modified installation folders for Windows, based on CMake documentation:

http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:find_package

Change-Id: I8508a2955ae83aa9dec40b43a425fe5fb56e5c9a
This commit is contained in:
Pablo Speciale
2013-09-05 00:51:37 +02:00
committed by Keir Mierle
parent 5090cb4e8d
commit f519ff7ba6
+9 -3
View File
@@ -737,9 +737,15 @@ ADD_CUSTOM_TARGET(uninstall
# Set up install directories. INCLUDE_INSTALL_DIR, LIB_INSTALL_DIR and
# CMAKECONFIG_INSTALL_DIR must not be absolute paths.
SET(INCLUDE_INSTALL_DIR include)
SET(LIB_INSTALL_DIR lib)
SET(CMAKECONFIG_INSTALL_DIR share/Ceres)
IF (WIN32)
SET(INCLUDE_INSTALL_DIR Include)
SET(LIB_INSTALL_DIR Lib)
SET(CMAKECONFIG_INSTALL_DIR CMake)
ELSE ()
SET(INCLUDE_INSTALL_DIR include)
SET(LIB_INSTALL_DIR lib)
SET(CMAKECONFIG_INSTALL_DIR share/Ceres)
ENDIF ()
# This "exports" all targets which have been put into the export set
# "CeresExport". This means that CMake generates a file with the given