diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c40819..c36c622 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.2) include(appInfo.cmake) +project(${appName}) + # Build and install main executable add_subdirectory(rhubarb) diff --git a/rhubarb/CMakeLists.txt b/rhubarb/CMakeLists.txt index 596b303..494e10d 100644 --- a/rhubarb/CMakeLists.txt +++ b/rhubarb/CMakeLists.txt @@ -5,8 +5,6 @@ include("../appInfo.cmake") # Support legacy OS X versions set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "Minimum OS X deployment version") -project(${appName}) - # Enable C++17 set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/rhubarb/src/tools/ProgressBar.cpp b/rhubarb/src/tools/ProgressBar.cpp index 6b0a3dc..8a99221 100644 --- a/rhubarb/src/tools/ProgressBar.cpp +++ b/rhubarb/src/tools/ProgressBar.cpp @@ -1,10 +1,12 @@ #include "ProgressBar.h" + #include #include #include #include #include #include +#include using std::string; diff --git a/rhubarb/src/tools/exceptions.cpp b/rhubarb/src/tools/exceptions.cpp index e191e13..97fbc6a 100644 --- a/rhubarb/src/tools/exceptions.cpp +++ b/rhubarb/src/tools/exceptions.cpp @@ -1,3 +1,5 @@ +#include + #include "exceptions.h" using std::string;