diff --git a/CMakeLists.txt b/CMakeLists.txt index a8c0271..64bf38b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.1) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}) # Set the project name -set(PNAME floppy-bird) +set(PNAME conways-game-of-life) project(${PNAME}) # Set up variables, and find SFML @@ -30,4 +30,4 @@ target_link_libraries (${PNAME} ${SFML_LIBRARIES} ${SFML_DEPENDENCIES}) # Setup to use C++11 + others set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") -set_property(TARGET ${PNAME} PROPERTY CXX_STANDARD 11) # Use C++11 \ No newline at end of file +set_property(TARGET ${PNAME} PROPERTY CXX_STANDARD 11) # Use C++11 diff --git a/main.cpp b/main.cpp index b1affdc..01341df 100644 --- a/main.cpp +++ b/main.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include "Node.h" #include #include