Skip to content
Snippets Groups Projects
Commit 27205992 authored by Ruf Quentin's avatar Ruf Quentin
Browse files

Resol erreur

parent 93613b47
No related branches found
No related tags found
No related merge requests found
.DS_Store 0 → 100644
File added
...@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.16) ...@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.16)
project(Jeu_2048 VERSION 0.1 LANGUAGES CXX) 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) set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 REQUIRED COMPONENTS Quick) find_package(Qt6 REQUIRED COMPONENTS Quick)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment