CMAKE_INSTALL_FULL_LIBDIR brokes CPack

This commit is contained in:
Kolan Sh 2017-12-19 07:54:58 +03:00
parent be702a8ef8
commit f4fd3637a3
1 changed files with 7 additions and 3 deletions

View File

@ -41,9 +41,13 @@ IF (LibIsPlugin)
ENDIF (LibIsPlugin) ENDIF (LibIsPlugin)
IF (UNIX) IF (UNIX)
INCLUDE (GNUInstallDirs) IF("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
#SET (install_dest lib${install_prefix}) SET (install_dest lib64${install_prefix})
SET (install_dest ${CMAKE_INSTALL_FULL_LIBDIR}${install_prefix}) ELSE()
SET (install_dest lib${install_prefix})
ENDIF()
#INCLUDE (GNUInstallDirs)
#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)