Mercurial > minori
comparison 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 |
comparison
equal
deleted
inserted
replaced
16:6e6d09ce594e | 17:db445ce42057 |
---|---|
1 cmake_minimum_required(VERSION 3.16) | 1 cmake_minimum_required(VERSION 3.16) |
2 project(minori LANGUAGES CXX OBJCXX) | 2 project(minori LANGUAGES CXX) |
3 | |
4 if(APPLE) | |
5 enable_language(OBJCXX) | |
6 endif() | |
3 | 7 |
4 add_subdirectory(dep/anitomy) | 8 add_subdirectory(dep/anitomy) |
5 | 9 |
6 # Fix for mingw64 | 10 # Fix for mingw64 |
7 list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a") | 11 list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a") |