Skip to content

Commit b64de42

Browse files
committed
add workaround for modules issue with mingw gcc14 + c++>=20 + cmake>=3.28
1 parent cbeb042 commit b64de42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qcustomplot/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ project(
88
DESCRIPTION "QCustomPlot"
99
LANGUAGES CXX)
1010

11+
# workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/25974
12+
set(CMAKE_CXX_SCAN_FOR_MODULES OFF)
13+
1114
set(CMAKE_AUTOMOC ON)
1215
set(CMAKE_AUTOUIC ON)
1316
set(CMAKE_AUTORCC ON)

0 commit comments

Comments
 (0)