mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 05:27:23 +00:00
Update CMakeLists.txt
This commit is contained in:

committed by
UjuiUjuMandan

parent
ff544f6693
commit
dbd8edf40b
@@ -13,6 +13,7 @@ set(JNI_LIB_NAME qjs)
|
||||
|
||||
include("${CMAKE_CURRENT_SOURCE_DIR}/../../../../cxx/quickjs.cmake")
|
||||
|
||||
add_link_options("-Wl,--build-id=none")
|
||||
add_library( # Sets the name of the library.
|
||||
${JNI_LIB_NAME}
|
||||
|
||||
@@ -22,8 +23,6 @@ add_library( # Sets the name of the library.
|
||||
# Provides a relative path to your source file(s).
|
||||
${CXX_LIB_DIR}/ffi.cpp )
|
||||
|
||||
add_link_options("-Wl,--build-id=none")
|
||||
|
||||
# Searches for a specified prebuilt library and stores the path as a
|
||||
# variable. Because CMake includes system libraries in the search path by
|
||||
# default, you only need to specify the name of the public NDK library
|
||||
|
Reference in New Issue
Block a user