From aad9e185424904f61c63054b1e99ff2782bc0cc5 Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Sun, 9 Jun 2024 17:05:58 +0200 Subject: [PATCH] Enable the test engine features --- cimgui-pack/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cimgui-pack/CMakeLists.txt b/cimgui-pack/CMakeLists.txt index 4660dae..12aae0c 100644 --- a/cimgui-pack/CMakeLists.txt +++ b/cimgui-pack/CMakeLists.txt @@ -23,7 +23,7 @@ target_sources(${target} PRIVATE ./cimplot/cimplot.cpp) target_sources(${target} PRIVATE ./cimnodes/imnodes/imnodes.cpp) target_sources(${target} PRIVATE ./cimnodes/cimnodes.cpp) -add_definitions(-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1 -DIMNODES_NAMESPACE=imnodes) +add_definitions(-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1 -DIMNODES_NAMESPACE=imnodes -DIMGUI_ENABLE_TEST_ENGINE) if (WIN32) add_definitions("-DIMGUI_IMPL_API=extern \"C\" __declspec\(dllexport\)")