Change __cmake_cxx23 if found

This commit is contained in:
sha512sum 2024-08-28 12:01:41 +00:00
parent 4548b03c67
commit 2aa1c6bb79

View file

@ -25,8 +25,9 @@ endif()
file(GLOB_RECURSE SOURCES "src/*.cpp") file(GLOB_RECURSE SOURCES "src/*.cpp")
set_target_properties(__cmake_cxx23 PROPERTIES CXX_EXTENSIONS OFF) if(TARGET __cmake_cxx23)
set_target_properties(__cmake_cxx23 PROPERTIES CXX_EXTENSIONS OFF)
endif()
file( file(
DOWNLOAD DOWNLOAD