Skip to content

Commit

Permalink
Fix Qt 6 include conflict jgarff#527
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey committed Jan 7, 2025
1 parent 7fc0bf8 commit 4446db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0.0)

# read and parse version file
file(READ version PROJECT_VERSION)
# read and parse 'ws281x_version.h' file
file(READ ws281x_version.h PROJECT_VERSION)
string(STRIP ${PROJECT_VERSION} PROJECT_VERSION)
string(REGEX REPLACE "([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" VERSION_MAJOR ${PROJECT_VERSION})
string(REGEX REPLACE "[0-9]+\\.([0-9]+)\\.[0-9]+" "\\1" VERSION_MINOR ${PROJECT_VERSION})
Expand Down
File renamed without changes.

0 comments on commit 4446db6

Please sign in to comment.