#Installation de SFML
IDE CLion MacOS
##Install brew update brew install sfml
CMakeLists.txt: cmake_minimum_required(VERSION 3.2) project(PlantsVsZombies)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(SOURCE_FILES main.cpp) add_executable(PlantsVsZombies ${SOURCE_FILES})
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake_modules")
find_package(SFML REQUIRED system window graphics network audio)
if (SFML_FOUND)
include_directories(
Same directory CMakeLists.txt create folder: cmake_modeules Inside cmake_modules → https://raw.githubusercontent.com/SFML/SFML-Game-Development-Book/master/CMake/FindSFML.cmake
Directory where you should have something: ./usr/local/include/SFML ./usr/local/Cellar/sfml/2.4.2_1/include/SFML ./usr/local/Cellar/sfml/2.4.2_1/share/SFML ./usr/local/share/SFML