Skip to content

Commit

Permalink
add workaround for modules issue with mingw gcc14 + c++>=20 + cmake>=…
Browse files Browse the repository at this point in the history
…3.28
  • Loading branch information
lkeegan committed May 14, 2024
1 parent cbeb042 commit b64de42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qcustomplot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ project(
DESCRIPTION "QCustomPlot"
LANGUAGES CXX)

# workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/25974
set(CMAKE_CXX_SCAN_FOR_MODULES OFF)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
Expand Down

0 comments on commit b64de42

Please sign in to comment.