blob: b3ea15bf177a36e11f06acbc55014ee092836f61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 51b5469..fa84982 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,11 @@ cmake_minimum_required(VERSION 3.22.1)
project(shaderc)
enable_testing()
+execute_process(COMMAND ./shaderc_deps.sh
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ COMMAND_ERROR_IS_FATAL ANY
+)
+
if ("${CMAKE_BUILD_TYPE}" STREQUAL "")
message(STATUS "No build type selected, default to Debug")
set(CMAKE_BUILD_TYPE "Debug")
|