From 666fb682ef07cbb48d91efc37d76ca14aeb98ecf Mon Sep 17 00:00:00 2001 From: Rune Berg Date: Sun, 3 Nov 2024 10:53:51 +1300 Subject: [PATCH] Fix check for running GITHUB_WORKFLOW --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 106e962..e4fb4da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -376,7 +376,7 @@ add_custom_command(TARGET ${XRLIB} POST_BUILD # Compile shaders only if we're not in an android build -if(NOT ANDROID AND NOT DEFINED ENV{GITHUB_ACTIONS}) +if(NOT ANDROID AND NOT DEFINED ENV{GITHUB_WORKFLOW}) add_custom_command(TARGET ${XRLIB} POST_BUILD COMMAND ${CMAKE_COMMAND} --build . --target CompileShaders )