Files
CMake/Tests/RunCMake/GNUInstallDirs/Common.cmake
Brad King 913736f17d Tests: Fix RunCMake.GNUInstallDirs on BSD platforms
The `GNUInstallDirs` module has different defaults on BSD platforms.
Update the test expected output to account for the difference.

Fixes: #16887
2017-06-02 16:26:30 -04:00

27 lines
479 B
CMake

set(CMAKE_SIZEOF_VOID_P 8)
set(CMAKE_LIBRARY_ARCHITECTURE "arch")
include(GNUInstallDirs)
set(dirs
BINDIR
DATADIR
DATAROOTDIR
DOCDIR
INCLUDEDIR
INFODIR
LIBDIR
LIBEXECDIR
LOCALEDIR
LOCALSTATEDIR
RUNSTATEDIR
MANDIR
SBINDIR
SHAREDSTATEDIR
SYSCONFDIR
)
foreach(dir ${dirs})
message("CMAKE_INSTALL_${dir}='${CMAKE_INSTALL_${dir}}'")
endforeach()
foreach(dir ${dirs})
message("CMAKE_INSTALL_FULL_${dir}='${CMAKE_INSTALL_FULL_${dir}}'")
endforeach()