浏览代码

cmake: add warning about use on macOS

Alex Szpakowski 3 年之前
父节点
当前提交
0d74419259
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      CMakeLists.txt

+ 5 - 0
CMakeLists.txt

@@ -36,6 +36,11 @@ set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
 
 set (CMAKE_CXX_STANDARD 11)
 
+if(APPLE)
+	message(WARNING "CMake is not an officially supported build system for love on Apple platforms.")
+	message(WARNING "Use the prebuilt .app or the xcode project in platform/xcode/ instead.")
+endif()
+
 if(MSVC)
 	set(LOVE_CONSOLE_EXE_NAME lovec)
 endif()