mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 00:50:40 +00:00
Apply cmake 4.0 version tests to demos project
Copied over from main RenderDoc CMakeLists.txt
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
if (NOT CMAKE_VERSION VERSION_LESS "4.0")
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
else()
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/../bin")
|
||||
|
||||
Reference in New Issue
Block a user