# HG changeset patch # User Paper # Date 1695178747 14400 # Node ID db445ce42057b11be5d1ea30b63ba69e8ec07b3f # Parent 6e6d09ce594eb769d50a3b4ddfbb0adf64ab7544 cmake: only enable OBJCXX on OS X diff -r 6e6d09ce594e -r db445ce42057 CMakeLists.txt --- 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)