Quellcode durchsuchen

We are increasing the CMake required version to fix the configuration issues below. (#1149)

Error evaluating generator expression:

    $<CONFIG:Release,Distribution,ReleaseASAN,ReleaseUBSAN,ReleaseCoverage>

  $<CONFIG> expression requires one or zero parameters.
Call Stack (most recent call first):
  CMakeLists.txt:239 (include)

CMake Error at A:/Dev/JoltPhysics/Jolt/Jolt.cmake:513 (target_compile_definitions):
  Error evaluating generator expression:

    $<CONFIG:Debug,Release>

  $<CONFIG> expression requires one or zero parameters.
Call Stack (most recent call first):
  CMakeLists.txt:239 (include)

CMake Error at A:/Dev/JoltPhysics/Jolt/Jolt.cmake:559 (target_compile_definitions):
  Error evaluating generator expression:

    $<CONFIG:Debug,Release,ReleaseASAN,ReleaseUBSAN>

  $<CONFIG> expression requires one or zero parameters.
Call Stack (most recent call first):
  CMakeLists.txt:239 (include)

Co-authored-by: Jens Frederich <[email protected]>
frederich vor 1 Jahr
Ursprung
Commit
dbd6b74870
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Build/CMakeLists.txt

+ 1 - 1
Build/CMakeLists.txt

@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
 
 project(JoltPhysics CXX)