GNUIntallDirs: lib -> CMAKE_INSTALL_FULL_LIBDIR.

This commit is contained in:
Kolan Sh 2017-12-19 07:45:00 +03:00
parent 784ca10a53
commit be702a8ef8
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ IF (LibIsPlugin)
ENDIF (LibIsPlugin) ENDIF (LibIsPlugin)
IF (UNIX) 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) ELSEIF (WIN32)
SET (install_dest bin${install_prefix}) SET (install_dest bin${install_prefix})
ENDIF (UNIX) ENDIF (UNIX)