changeset 17:db445ce42057

cmake: only enable OBJCXX on OS X
author Paper <mrpapersonic@gmail.com>
date Tue, 19 Sep 2023 22:59:07 -0400
parents 6e6d09ce594e
children 28d8f4c0ae12
files CMakeLists.txt
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Tue Sep 19 22:54:48 2023 -0400
+++ b/CMakeLists.txt	Tue Sep 19 22:59:07 2023 -0400
@@ -1,5 +1,9 @@
 cmake_minimum_required(VERSION 3.16)
-project(minori LANGUAGES CXX OBJCXX)
+project(minori LANGUAGES CXX)
+
+if(APPLE)
+	enable_language(OBJCXX)
+endif()
 
 add_subdirectory(dep/anitomy)