cpp: Move LSPlt configuration to gradle script
Otherwise for some reason it fails to set the vars in CI builds. Signed-off-by: Dakkshesh <beakthoven@gmail.com>
This commit is contained in:
@@ -49,6 +49,8 @@ android {
|
||||
arguments += "-DCMAKE_CXX_STANDARD=20"
|
||||
arguments += "-DCMAKE_C_STANDARD=23"
|
||||
arguments += "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON"
|
||||
arguments += "-DLSPLT_BUILD_SHARED=OFF"
|
||||
arguments += "-DLSPLT_STANDALONE=ON"
|
||||
|
||||
cppFlags += "-std=c++20"
|
||||
cppFlags += "-fno-exceptions"
|
||||
|
||||
@@ -11,8 +11,6 @@ target_include_directories(my_logging PUBLIC logging/include)
|
||||
target_link_libraries(my_logging log)
|
||||
|
||||
# LSPlt configuration
|
||||
set(LSPLT_STANDALONE ON)
|
||||
set(LSPLT_BUILD_SHARED OFF)
|
||||
add_subdirectory(external/LSPlt/lsplt/src/main/jni)
|
||||
|
||||
# libutils stub
|
||||
|
||||
Reference in New Issue
Block a user