Browse Source

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 1 year ago
parent
commit
dbd6b74870
1 changed files with 1 additions and 1 deletions
  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)