From 472f5cc4c69d232d759df6ddbd68032193804a94 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:40:57 +0300 Subject: [PATCH] Compiling and running on Linux. --- ShaderRecomp/CMakeLists.txt | 2 +- ShaderRecomp/pch.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ShaderRecomp/CMakeLists.txt b/ShaderRecomp/CMakeLists.txt index e703586..9a821e0 100644 --- a/ShaderRecomp/CMakeLists.txt +++ b/ShaderRecomp/CMakeLists.txt @@ -34,7 +34,7 @@ target_include_directories(ShaderRecomp PRIVATE ${SMOLV_SOURCE_DIR}) target_precompile_headers(ShaderRecomp PRIVATE pch.h) if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - target_compile_options(ShaderRecomp PRIVATE -Wno-switch -Wno-unused-variable) + target_compile_options(ShaderRecomp PRIVATE -Wno-switch -Wno-unused-variable -Wno-null-arithmetic -fms-extensions) endif() if (WIN32) diff --git a/ShaderRecomp/pch.h b/ShaderRecomp/pch.h index eca8d39..790969b 100644 --- a/ShaderRecomp/pch.h +++ b/ShaderRecomp/pch.h @@ -1,6 +1,5 @@ #pragma once -#include #include #include