Tell GLFW to not change the working directory;

This commit is contained in:
bjorn 2019-10-14 16:10:48 -07:00
parent 25fa80f1d5
commit 505d315c18
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ if(NOT (EMSCRIPTEN OR ANDROID))
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "")
set(GLFW_BUILD_TESTS OFF CACHE BOOL "")
set(GLFW_BUILD_DOCS OFF CACHE BOOL "")
set(GLFW_USE_CHDIR OFF CACHE BOOL "")
set(BUILD_SHARED_LIBS ON CACHE BOOL "")
add_subdirectory(deps/glfw glfw)
include_directories(deps/glfw/include)