From 230fd69c173bb67f4eb0d66e8bc12b10b9cadddf Mon Sep 17 00:00:00 2001 From: mcc Date: Mon, 20 Aug 2018 16:36:07 -0400 Subject: [PATCH] Fix Windows build with -DLOVR_OPENAL=0 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 15248eba..3efac2e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -369,7 +369,9 @@ if(WIN32) move_dll(${LOVR_GLFW}) move_dll(${LOVR_LUA}) move_dll(${LOVR_ODE}) - move_dll(${LOVR_OPENAL}) + if (LOVR_OPENAL) + move_dll(${LOVR_OPENAL}) + endif() move_dll(${LOVR_OPENVR}) move_dll(${LOVR_PHYSFS}) endif()