diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fc2c234..3ecec9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -54,6 +54,10 @@ enable_language(CXX) | |||
54 | include_directories(src src/3rdParty ${LUA_INCLUDE_DIR}) | 54 | include_directories(src src/3rdParty ${LUA_INCLUDE_DIR}) |
55 | add_definitions(-std=c++17 -O3 -fPIC) | 55 | add_definitions(-std=c++17 -O3 -fPIC) |
56 | 56 | ||
57 | if (APPLE) | ||
58 | add_definitions(-Wno-deprecated-declarations) | ||
59 | endif () | ||
60 | |||
57 | add_library(libyue MODULE | 61 | add_library(libyue MODULE |
58 | src/yuescript/ast.cpp | 62 | src/yuescript/ast.cpp |
59 | src/yuescript/parser.cpp | 63 | src/yuescript/parser.cpp |