From 505d315c18d3c6e3a405484cc433e069ee711a8e Mon Sep 17 00:00:00 2001 From: bjorn Date: Mon, 14 Oct 2019 16:10:48 -0700 Subject: [PATCH] Tell GLFW to not change the working directory; --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 84863ae5..152b6f2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)