Skip to content

Commit

Permalink
Fixed build flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Jan 21, 2025
1 parent da02603 commit 42311be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
project(yue CXX)

set(LUA_LIBDIR ${LUA_INCDIR}/../lib ${LUA_INCDIR}/../../lib)
Expand Down Expand Up @@ -55,7 +55,7 @@ include_directories(src src/3rdParty ${LUA_INCLUDE_DIR})
add_definitions(-std=c++17 -O3 -fPIC)

if (APPLE)
add_definitions(-Wno-deprecated-declarations)
add_compile_options(-Wno-deprecated-declarations)
endif ()

add_library(libyue MODULE
Expand Down

0 comments on commit 42311be

Please sign in to comment.