We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c890b01 commit 5523327Copy full SHA for 5523327
prefab/curl-ssl/app/src/main/cpp/CMakeLists.txt
@@ -17,9 +17,10 @@
17
cmake_minimum_required(VERSION 3.22.1)
18
project(app VERSION 1.0.0 LANGUAGES CXX)
19
20
+include(AppLibrary)
21
+
22
find_package(curl REQUIRED CONFIG)
23
find_package(jsoncpp REQUIRED CONFIG)
24
-add_library(app SHARED app.cpp http.cpp logging.cpp)
-target_compile_options(app PRIVATE -Wall -Werror)
25
+add_app_library(app SHARED app.cpp http.cpp logging.cpp)
26
target_link_libraries(app ${LIBLOG} curl::curl jsoncpp::jsoncpp)
0 commit comments