Skip to content

Commit 5523327

Browse files
committed
Increase warning level in curl-ssl.
1 parent c890b01 commit 5523327

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

prefab/curl-ssl/app/src/main/cpp/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
cmake_minimum_required(VERSION 3.22.1)
1818
project(app VERSION 1.0.0 LANGUAGES CXX)
1919

20+
include(AppLibrary)
21+
2022
find_package(curl REQUIRED CONFIG)
2123
find_package(jsoncpp REQUIRED CONFIG)
2224

23-
add_library(app SHARED app.cpp http.cpp logging.cpp)
24-
target_compile_options(app PRIVATE -Wall -Werror)
25+
add_app_library(app SHARED app.cpp http.cpp logging.cpp)
2526
target_link_libraries(app ${LIBLOG} curl::curl jsoncpp::jsoncpp)

0 commit comments

Comments
 (0)