define CIMGUI_NO_EXPORT when building cimgui

This commit is contained in:
Lukas Wirth 2019-07-03 12:11:37 +02:00 committed by Veykril
parent 8af46b4a22
commit 44593da120

View File

@ -27,6 +27,7 @@ fn main() -> io::Result<()> {
build.cpp(true);
// Disabled due to linking issues
build
.define("CIMGUI_NO_EXPORT", None)
.define("IMGUI_DISABLE_WIN32_FUNCTIONS", None)
.define("IMGUI_DISABLE_OSX_FUNCTIONS", None);
for path in &CPP_FILES {