From 97761a90de421e0192276a6ff4f4131747dfcdbc Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Tue, 4 Feb 2020 10:32:04 +0100 Subject: [PATCH] Fix stb on Mac --- cmake/FindStb.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/FindStb.cmake b/cmake/FindStb.cmake index 35f55a90b6..b510d6b0ef 100644 --- a/cmake/FindStb.cmake +++ b/cmake/FindStb.cmake @@ -42,8 +42,10 @@ else() endif() include(ExternalProject) + # Stb's commits in early February seems to cause the engine to fail compilation on Mac. ExternalProject_Add(stb GIT_REPOSITORY "https://github.com/nothings/stb.git" + GIT_TAG d5d052c806eee2ca1f858cb58b2f062d9fa25b90 UPDATE_DISCONNECTED TRUE CONFIGURE_COMMAND "" #We don't want to actually go and build/test/generate it. Just need to download the headers. BUILD_COMMAND "" @@ -64,4 +66,4 @@ else() endif() endif() -mark_as_advanced(Stb_INCLUDE_DIRS) \ No newline at end of file +mark_as_advanced(Stb_INCLUDE_DIRS)