diff --git a/CMakeLists.txt b/CMakeLists.txt index db13eda9..f6cbfca2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,12 +73,12 @@ add_subdirectory(lib/bgfx-cmake) add_subdirectory(lib/ZenLib) # Set up bullet -set(USE_GRAPHICAL_BENCHMARK OFF) -set(USE_MSVC_RUNTIME_LIBRARY_DLL ON) # Don't statically link this -set(BUILD_BULLET2_DEMOS OFF) # No samples -set(BUILD_OPENGL3_DEMOS OFF) # No samples -set(BUILD_UNIT_TESTS OFF) # No tests -set(BUILD_CPU_DEMOS OFF) # No samples +set(USE_GRAPHICAL_BENCHMARK OFF CACHE STRING "" FORCE) +set(USE_MSVC_RUNTIME_LIBRARY_DLL ON CACHE STRING "" FORCE) # Don't statically link this +set(BUILD_BULLET2_DEMOS OFF CACHE STRING "" FORCE) # No samples +set(BUILD_OPENGL3_DEMOS OFF CACHE STRING "" FORCE) # No samples +set(BUILD_UNIT_TESTS OFF CACHE STRING "" FORCE) # No tests +set(BUILD_CPU_DEMOS OFF CACHE STRING "" FORCE) # No samples set(GLFW_BUILD_EXAMPLES OFF CACHE STRING "" FORCE) set(GLFW_BUILD_TESTS OFF CACHE STRING "" FORCE) set(GLFW_BUILD_DOCS OFF CACHE STRING "" FORCE)