Skip to content

Commit 0c5c1e6

Browse files
committed
update
1 parent 4707231 commit 0c5c1e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SetPlatformFeatures.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ elseif(WIN32)
3131
add_definitions(-D_WIN32_SDK=${CMAKE_WIN32_SDK})
3232

3333
endif()
34+
35+
# GCC compiler fix for precompiled headers
36+
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
37+
add_definitions(-D__cpp_runtime_arrays=198712)
38+
endif()

0 commit comments

Comments
 (0)