fix: disable precompiled headers for macOS (#6104)

This commit is contained in:
pajlada
2025-03-21 23:27:49 +01:00
committed by GitHub
parent a70acbfda9
commit 41acd4e971
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -982,7 +982,7 @@ if (BUILD_APP)
endif()
endif ()
if (USE_PRECOMPILED_HEADERS)
if (USE_PRECOMPILED_HEADERS AND NOT APPLE)
message(STATUS "Building with precompiled headers")
target_precompile_headers(${LIBRARY_PROJECT} PRIVATE PrecompiledHeader.hpp)
else ()