mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Fix random new CI failure by setting CMAKE_CXX_STANDARD_REQUIRED
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Build as C++14 for the python bindings template-fu
|
||||
if (CMAKE_VERSION VERSION_LESS "3.1")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++14")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
|
||||
else ()
|
||||
set (CMAKE_CXX_STANDARD 14)
|
||||
set (CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
endif ()
|
||||
|
||||
# include paths for qrenderdoc, the internal renderdoc API, and Python
|
||||
|
||||
Reference in New Issue
Block a user