https://github.com/Kitware/CMake
Raw File
Tip revision: fed67fa40d7b6e34ee7c8565694bd54af61aed73 authored by Brad King on 12 November 2021, 14:15:07 UTC
CMake 3.22.0-rc3
Tip revision: fed67fa
Required.cmake
find_path(PATH_exists
  NAMES PrefixInPATH.h
  PATHS ${CMAKE_CURRENT_SOURCE_DIR}/include
  NO_DEFAULT_PATH
  REQUIRED
  )
message(STATUS "PATH_exists='${PATH_exists}'")

find_path(PATH_doNotExists
  NAMES doNotExists.h
  REQUIRED
  )
back to top