diff options
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0279831..613019e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.5) | 1 | cmake_minimum_required(VERSION 3.10) |
2 | project(yue CXX) | 2 | project(yue CXX) |
3 | 3 | ||
4 | set(LUA_LIBDIR ${LUA_INCDIR}/../lib ${LUA_INCDIR}/../../lib) | 4 | set(LUA_LIBDIR ${LUA_INCDIR}/../lib ${LUA_INCDIR}/../../lib) |
@@ -55,7 +55,7 @@ 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) | 57 | if (APPLE) |
58 | add_definitions(-Wno-deprecated-declarations) | 58 | add_compile_options(-Wno-deprecated-declarations) |
59 | endif () | 59 | endif () |
60 | 60 | ||
61 | add_library(libyue MODULE | 61 | add_library(libyue MODULE |