diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..94a78340df39f133d083c3d6e5c78616a2e9f7e3 Binary files /dev/null and b/.DS_Store differ diff --git a/Jeu_2048/CMakeLists.txt b/Jeu_2048/CMakeLists.txt index 7e2d4ed8338ceb213d00c795f1ac97ce14d5b4e2..93300e8d8888fc367cc9da68211e0b0c6d91d327 100644 --- a/Jeu_2048/CMakeLists.txt +++ b/Jeu_2048/CMakeLists.txt @@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.16) project(Jeu_2048 VERSION 0.1 LANGUAGES CXX) +if(APPLE) + set(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk") + set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES "${CMAKE_OSX_SYSROOT}/usr/include/c++/v1") +endif() + set(CMAKE_CXX_STANDARD_REQUIRED ON) find_package(Qt6 REQUIRED COMPONENTS Quick)