From 39ec32b2ef67629717b4fa9401952f8a5b77cbfd Mon Sep 17 00:00:00 2001 From: Quantum Date: Sat, 17 Jul 2021 20:17:20 -0400 Subject: [PATCH] [client] cimgui: build as static library --- client/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 698a5ef9..07ca7c53 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -124,6 +124,9 @@ set(SOURCES src/egl_dynprocs.c ) +# Force cimgui to build as a static library. +set(IMGUI_STATIC "yes" CACHE STRING "Build as a static library") + add_subdirectory("${PROJECT_TOP}/common" "${CMAKE_BINARY_DIR}/common" ) add_subdirectory("${PROJECT_TOP}/repos/LGMP/lgmp" "${CMAKE_BINARY_DIR}/LGMP" ) add_subdirectory("${PROJECT_TOP}/repos/PureSpice" "${CMAKE_BINARY_DIR}/PureSpice")