Prevent warn on sign conversion, overlapping compile flags
@@ -32,6 +32,8 @@ if (CMAKE_BUILD_TYPE MATCHES Debug)
WalletKitCoreTests/test/include
include
src)
+ set_target_properties(test_bitcoin
+ PROPERTIES COMPILE_FLAGS "-Wno-sign-conversion")
target_link_libraries (test_bitcoin
WalletKitCore)
@@ -80,7 +82,7 @@ target_include_directories (WalletKitCore
# specify compiler warnings
target_compile_options (WalletKitCore
- PUBLIC
+ PRIVATE
"-Wall"
"-Wconversion"
"-Wsign-conversion"
