First Commit
This commit is contained in:
12
externals/cryptopp-cmake/test/integration/cmake/CheckFileExists.cmake
vendored
Normal file
12
externals/cryptopp-cmake/test/integration/cmake/CheckFileExists.cmake
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# ===-----------------------------------------------------------------------===#
|
||||
# Distributed under the 3-Clause BSD License. See accompanying file LICENSE or
|
||||
# copy at https://opensource.org/licenses/BSD-3-Clause).
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# ===-----------------------------------------------------------------------===#
|
||||
|
||||
# Helper script to check if a file exists at build time
|
||||
|
||||
message(STATUS "Checking if installed file \"${FILE_TO_CHECK}\" exists")
|
||||
if(NOT EXISTS ${FILE_TO_CHECK})
|
||||
message(FATAL_ERROR "\"${FILE_TO_CHECK}\" doesn't exist.")
|
||||
endif()
|
||||
Reference in New Issue
Block a user