summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GNUInstallDirs/RunCMakeTest.cmake
blob: e00af581bcedb751a5aa658bb222e33b6aa14798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include(RunCMake)

if(SYSTEM_NAME MATCHES "^(([^k].*)?BSD|DragonFly)$")
  set(EXPECT_BSD 1)
endif()

foreach(case
    Opt
    Root
    Usr
    UsrLocal
    )
  if(EXPECT_BSD)
    set(RunCMake-stderr-file ${case}-BSD-stderr.txt)
  endif()
  run_cmake(${case})
endforeach()