Skip to content

Commit

Permalink
Add -include cstdint for gcc13
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Aug 8, 2023
1 parent fae19ff commit 86b9c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ target_compile_options(surge-common PRIVATE -Wno-sign-compare -Wno-ignored-quali
$<$<PLATFORM_ID:Darwin>:-Wno-mismatched-tags>
# gcc13/clang15 changes on older surge
$<$<PLATFORM_ID:Darwin>:-Wno-unused-but-set-variable>
-Iutility -Icstdint
$<$<CXX_COMPILER_ID:GNU>:-include cstdint>
$<$<PLATFORM_ID:Darwin>:-Wno-infinite-recursion>)

target_compile_options(surge-common PRIVATE $<$<STREQUAL:${CMAKE_OSX_ARCHITECTURES},arm64>:-faligned-allocation>)
Expand Down

0 comments on commit 86b9c07

Please sign in to comment.