mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 02:17:16 +02:00
fix: handling of MP_UNITS_BUILD_CXX_MODULES fixed
This commit is contained in:
@ -95,7 +95,7 @@ if(${projectPrefix}API_NO_CRTP STREQUAL "TRUE" AND NOT ${projectPrefix}EXPLICIT_
|
||||
message(FATAL_ERROR "`NO_CRTP` mode enabled but explicit `this` parameter is not supported")
|
||||
endif()
|
||||
|
||||
if(${projectPrefix}BUILD_CXX_MODULES STREQUAL "TRUE")
|
||||
if(${projectPrefix}BUILD_CXX_MODULES)
|
||||
if(CMAKE_VERSION VERSION_LESS "3.29")
|
||||
message(FATAL_ERROR "CMake versions before 3.29 do not support C++ modules properly")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user