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:32:35 +08:00
parent d3c9653b9e
commit f24c07b8a5
No known key found for this signature in database
GPG Key ID: F98EF2A7B0A098AE
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ set(META_VERSION_MINOR 0)
set(META_VERSION_PATCH 0)
set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH})
project(${META_PROJECT_NAME})
# add project files
set(HEADER_FILES
misc/xmlparsermacros.h