From be702a8ef89f8aef65a6555256c5cd33817cad7c Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Tue, 19 Dec 2017 07:45:00 +0300 Subject: [PATCH] GNUIntallDirs: lib -> CMAKE_INSTALL_FULL_LIBDIR. --- ValaLibCommonRules.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ValaLibCommonRules.cmake b/ValaLibCommonRules.cmake index 8192a50..7a94d4a 100644 --- a/ValaLibCommonRules.cmake +++ b/ValaLibCommonRules.cmake @@ -41,7 +41,9 @@ IF (LibIsPlugin) ENDIF (LibIsPlugin) IF (UNIX) - SET (install_dest lib${install_prefix}) + INCLUDE (GNUInstallDirs) + #SET (install_dest lib${install_prefix}) + SET (install_dest ${CMAKE_INSTALL_FULL_LIBDIR}${install_prefix}) ELSEIF (WIN32) SET (install_dest bin${install_prefix}) ENDIF (UNIX)