CMake-MetalShaderSupport/CMakeLists.txt
2024-06-02 01:52:40 -07:00

17 lines
432 B
CMake

# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file LICENCE.txt or https://cmake.org/licensing for details.
cmake_minimum_required(VERSION 3.12)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_SOURCE_DIR}/cmake")
include(CheckLanguage)
include(MetalShaderSupport)
project(MetalTest)
check_language(Metal)
if(CMAKE_Metal_COMPILER)
enable_language(Metal)
endif()
add_subdirectory(example)