MINGW-packages/mingw-w64-labplot/003-fix-build-with-qxlsx.patch
مهدي شينون (Mehdi Chinoune) da9287e3af labplot: update to 2.12.0
2025-04-25 21:03:00 +01:00

12 lines
358 B
Diff

--- a/src/3rdparty/CMakeLists.txt
+++ b/src/3rdparty/CMakeLists.txt
@@ -60,6 +60,8 @@ if(BUILD_QXLSX)
get_target_property(QXLSX_VERSION QXlsx VERSION)
message(STATUS "QXlsx VERSION ${QXLSX_VERSION}")
+endif()
+if(BUILD_QXLSX OR QXLSX_FOUND)
target_compile_definitions(labplotlib PRIVATE QXLSX_VERSION_STRING=\"${QXLSX_VERSION}\")
endif()