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)