aboutsummaryrefslogtreecommitdiff
path: root/configuration
diff options
context:
space:
mode:
authortt4g <mainlinett@gmail.com>2020-03-01 11:34:14 +0900
committerpoletti-marco <poletti.marco@gmail.com>2020-03-01 17:21:56 -0800
commit2c7f55cc36a4acc33cdf03eb89c5bb5746cff1a7 (patch)
tree9756e8c0e5faf3a483daaaa8f616e446dc7e9c2e /configuration
parent2803116f9a7645871aa8892ec4f5190b26498d29 (diff)
downloadgoogle-fruit-2c7f55cc36a4acc33cdf03eb89c5bb5746cff1a7.tar.gz
Use GNUInstallDirs module
GNUInstallDirs module define CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_BINDIR and CMAKE_INSTALL_INCLUDEDIR. For Windows shared library, specify CMAKE_INSTALL_BINDIR as the installation destination. INSTALL_LIBRARY_DIR has been replaced by CMAKE_INSTALL_LIBDIR and INSTALL_INCLUDE_DIR by CMAKE_INSTALL_INCLUDEDIR/fruit.
Diffstat (limited to 'configuration')
-rw-r--r--configuration/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuration/CMakeLists.txt b/configuration/CMakeLists.txt
index b18a463..11d8445 100644
--- a/configuration/CMakeLists.txt
+++ b/configuration/CMakeLists.txt
@@ -218,4 +218,4 @@ endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fruit-config-base.h.in ${CMAKE_CURRENT_BINARY_DIR}/../include/fruit/impl/fruit-config-base.h)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/../include/fruit/impl/fruit-config-base.h
- DESTINATION ${INSTALL_INCLUDE_DIR}/impl)
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/fruit/impl)