summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GNUInstallDirs/Common.cmake
blob: eff2d54b3c0fcc256a6aba373c0617c7d3e6f3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set(CMAKE_SIZEOF_VOID_P 8)
set(CMAKE_LIBRARY_ARCHITECTURE "arch")
if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
  set(CMAKE_SYSTEM_NAME "OpenBSD-Fake")
endif()
include(GNUInstallDirs)
set(dirs
  BINDIR
  DATADIR
  DATAROOTDIR
  DOCDIR
  INCLUDEDIR
  INFODIR
  LIBDIR
  LIBEXECDIR
  LOCALEDIR
  LOCALSTATEDIR
  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()