Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Fix stb on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
LipuFei committed Feb 4, 2020
1 parent e59b6ea commit 97761a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/FindStb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand All @@ -64,4 +66,4 @@ else()
endif()
endif()

mark_as_advanced(Stb_INCLUDE_DIRS)
mark_as_advanced(Stb_INCLUDE_DIRS)

0 comments on commit 97761a9

Please sign in to comment.