From 562ed5908d27eb01954b4c66709fc2a86443b78b Mon Sep 17 00:00:00 2001 From: Dirk Olbrich Date: Tue, 13 Sep 2022 16:05:34 +0200 Subject: [PATCH] fix IFC_MAX check --- cmake/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index dbbcf56ebd..9cd9df07a1 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -1052,8 +1052,8 @@ if(NOT MINIMAL_BUILD AND BUILD_IFCMAX) endif() endforeach() - if(HAS_MAX) - message(STATUS "No Autodesk 3ds Max SDK found, can not build IFCMax.") + if(NOT HAS_MAX) + message(STATUS "Autodesk 3ds Max SDK not found, is required to build IFCMax.") else() add_subdirectory(../src/ifcmax ifcmax) endif()