Совместимость с новыми версиям MyxCMake

This commit is contained in:
Andrei Astafev 2024-04-12 12:57:52 +03:00
parent 62ad3b66c4
commit 57269a7660

View File

@ -3,7 +3,7 @@ cmake_policy(SET CMP0057 NEW) # IN_LIST operator
get_filename_component(MYXX_CMAKE_SOURCE_DIR "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY)
if(NOT MyxCMake_DIR)
if(NOT MYX_CMAKE_DIR)
message(FATAL_ERROR "MyxxCMake library required MyxCMake to work")
endif()