Mercurial > minori
diff CMakeLists.txt @ 17:db445ce42057
cmake: only enable OBJCXX on OS X
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 19 Sep 2023 22:59:07 -0400 |
parents | cde8f67a7c7d |
children | d0adc4aedfc8 |
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)