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 6796ef2 commit 50e5eefCopy full SHA for 50e5eef
CMakeLists.txt
@@ -74,9 +74,6 @@ else()
74
include(cmake/conan_build.cmake)
75
endif()
76
77
-add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
78
-add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
79
-
80
#############################################################
81
# LIBRARY
82
@@ -189,6 +186,7 @@ target_compile_definitions(${BTCPP_LIBRARY} PUBLIC BTCPP_LIBRARY_VERSION="${CMAK
189
186
target_compile_features(${BTCPP_LIBRARY} PUBLIC cxx_std_17)
190
187
191
188
if(MSVC)
+ target_compile_options(${BTCPP_LIBRARY} PRIVATE "/source-charset:utf-8")
192
else()
193
target_compile_options(${BTCPP_LIBRARY} PRIVATE -Wall -Wextra)
194
0 commit comments