Skip to content

Commit 1d8ebe8

Browse files
committed
fixup! Temporarily add Metal createComputePipeline2 logging
1 parent 8fa0dee commit 1d8ebe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ get_git_version(
1616
project(slang VERSION "${SLANG_VERSION_NUMERIC}" LANGUAGES)
1717
set(PROJECT_VERSION "${SLANG_VERSION_FULL}")
1818

19-
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
20-
message(FATAL_ERROR "C++ compiler is not AppleClang")
21-
endif()
22-
2319
execute_process(
2420
COMMAND
2521
bash -c
@@ -55,6 +51,10 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
5551
# CMake-supplied modules and our utils
5652
#
5753
enable_language(C CXX)
54+
if(NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang")
55+
message(FATAL_ERROR "C++ compiler is not AppleClang")
56+
endif()
57+
5858

5959
include(FindPackageHandleStandardArgs)
6060
include(CMakeDependentOption)

0 commit comments

Comments
 (0)