How can I detect what version of macOS my Cmake code is running on?

后端 未结 0 612
时光说笑
时光说笑 2021-02-13 03:58

I need to determine what version of MacOS the cmake file is running on.

if(BIGSUR)
     # do something
else()
    #  do something else
endif()

相关标签:
回答
  • 消灭零回复
提交回复
热议问题