Minor syntax fixes

Fixes #103
This commit is contained in:
Daniel Wolf 2021-10-13 20:31:16 +02:00
parent ed9a3ab957
commit 9a32641a99
4 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.2)
include(appInfo.cmake) include(appInfo.cmake)
project(${appName})
# Build and install main executable # Build and install main executable
add_subdirectory(rhubarb) add_subdirectory(rhubarb)

View File

@ -5,8 +5,6 @@ include("../appInfo.cmake")
# Support legacy OS X versions # Support legacy OS X versions
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "Minimum OS X deployment version") set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "Minimum OS X deployment version")
project(${appName})
# Enable C++17 # Enable C++17
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)

View File

@ -1,10 +1,12 @@
#include "ProgressBar.h" #include "ProgressBar.h"
#include <algorithm> #include <algorithm>
#include <future> #include <future>
#include <chrono> #include <chrono>
#include <format.h> #include <format.h>
#include <boost/algorithm/clamp.hpp> #include <boost/algorithm/clamp.hpp>
#include <cmath> #include <cmath>
#include <thread>
using std::string; using std::string;

View File

@ -1,3 +1,5 @@
#include <exception>
#include "exceptions.h" #include "exceptions.h"
using std::string; using std::string;