Skip to content

Commit

Permalink
Add doc / download sdl & glfw
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 29, 2023
1 parent e45065d commit bd5245d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ option(HELLOIMGUI_USE_SDL_VULKAN "Build HelloImGui for SDL2+Vulkan" OFF)
# Automatic download of Glfw3 and SDL2 (provided as a convenience)
# (disabled by default on Linux, which prefers to use the system libraries,
# enabled by default on other platforms)
# Note: SDL and Glfw3 will be downloaded if:
# - HELLOIMGUI_DOWNLOAD_GLFW_IF_NEEDED or HELLOIMGUI_DOWNLOAD_SDL_IF_NEEDED is ON
# - HELLOIMGUI_USE_SDL_XXXX or HELLOIMGUI_USE_GLFW_XXXX is ON
# - find_package(glfw3 or SDL2) fails. If a system library is found, or a user library provided
# in a path added to CMAKE_PREFIX_PATH, it will be used instead
# - In the case of Glfw3, if a target named glfw is already defined, it will be used instead
#------------------------------------------------------------------------------
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
set(autodownload_default OFF)
Expand Down

0 comments on commit bd5245d

Please sign in to comment.