summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GNUInstallDirs/GetAbs.cmake
blob: 7d5bfc859806ebdb888418cd196bfaa98297380e (plain)
1
2
3
4
5
6
7
8
9
10
11
set(CMAKE_SIZEOF_VOID_P 8)
set(CMAKE_LIBRARY_ARCHITECTURE "arch")
set(CMAKE_INSTALL_PREFIX /usr)
include(GNUInstallDirs)

GNUInstallDirs_get_absolute_install_dir(PROJ1_FULL_BINDIR CMAKE_INSTALL_BINDIR BINDIR)
message("PROJ1_FULL_BINDIR='${PROJ1_FULL_BINDIR}'")

set(dir BINDIR)
GNUInstallDirs_get_absolute_install_dir(PROJ2_FULL_BINDIR CMAKE_INSTALL_BINDIR)
message("PROJ2_FULL_BINDIR='${PROJ2_FULL_BINDIR}'")