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.
This commit is contained in:
Chih-Hsuan Yen 2019-07-20 22:06:37 +08:00
parent 666b7f7c34
commit 5f65ca43fa
No known key found for this signature in database
GPG Key ID: F98EF2A7B0A098AE
1 changed files with 2 additions and 0 deletions

View File

@ -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