mirror of
https://github.com/boostorg/mysql.git
synced 2026-02-14 12:52:17 +00:00
Trying to make Appveyor link
This commit is contained in:
@@ -13,9 +13,9 @@ endif()
|
||||
# our test targets
|
||||
function(_mysql_set_target_warnings TARGET_NAME)
|
||||
if(MSVC)
|
||||
message("Adding Boost library dirs: ${Boost_LIBRARY_DIRS}")
|
||||
target_compile_definitions(${TARGET_NAME} PRIVATE _CRT_SECURE_NO_WARNINGS)
|
||||
target_compile_definitions(${TARGET_NAME} PRIVATE _CRT_SECURE_NO_WARNINGS _WIN32_WINNT=0x0601)
|
||||
target_link_directories(${TARGET_NAME} PRIVATE ${Boost_LIBRARY_DIRS})
|
||||
target_compile_options(${TARGET_NAME} PRIVATE /bigobj)
|
||||
else()
|
||||
target_compile_options(${TARGET_NAME} PRIVATE -Wall -Wextra -pedantic -Werror)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user