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:
parent
d3c9653b9e
commit
f24c07b8a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue