refactor conditional for 3ds Max SDK

This commit is contained in:
Dirk Olbrich
2022-09-13 16:19:03 +02:00
committed by Thomas Krijnen
parent 76948c5156
commit 1578efe366
+3 -3
View File
@@ -1052,10 +1052,10 @@ if(NOT MINIMAL_BUILD AND BUILD_IFCMAX)
endif() endif()
endforeach() endforeach()
if(NOT HAS_MAX) if(HAS_MAX)
message(STATUS "Autodesk 3ds Max SDK not found, is required to build IFCMax.")
else()
add_subdirectory(../src/ifcmax ifcmax) add_subdirectory(../src/ifcmax ifcmax)
else()
message(STATUS "Autodesk 3ds Max SDK not found, is required to build IFCMax.")
endif() endif()
endif() endif()