From 5f65ca43fa6804783794ab227fc95ec4314c4b07 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Sat, 20 Jul 2019 22:06:37 +0800 Subject: [PATCH] Fix building on Mac OS X/macOS Without project(), compiler flags like -std=gnu++17 are not applied for non-Apple clang on Mac OS X/macOS. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4291eb0..b7a1e79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +project(c++utilities) + # add project files set(HEADER_FILES application/argumentparser.h