RunCMakeTest.cmake 265 B

1234567891011121314151617
  1. include(RunCMake)
  2. if(SYSTEM_NAME MATCHES "^(.*BSD|DragonFly)$")
  3. set(EXPECT_BSD 1)
  4. endif()
  5. foreach(case
  6. Opt
  7. Root
  8. Usr
  9. UsrLocal
  10. )
  11. if(EXPECT_BSD)
  12. set(RunCMake-stderr-file ${case}-BSD-stderr.txt)
  13. endif()
  14. run_cmake(${case})
  15. endforeach()