This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.20) | |
project(min LANGUAGES CXX) | |
set(CMAKE_CXX_SCAN_FOR_MODULES OFF) | |
# set OFF if not using C++ modules, or it can trip similar compiler errors due to "-fmodules-ts" flags auto-added when ON. | |
message(STATUS "CMAKE_OSX_SYSROOT ${CMAKE_OSX_SYSROOT}") | |
foreach(i IN ITEMS OS_NAME OS_VERSION OS_RELEASE OS_PLATFORM) |