mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 13:37:55 +08:00
Merge pull request #615 from stammen/bzip2-fix-uwp
[bzip2] Fix UWP builds
This commit is contained in:
commit
092f56e47d
@ -20,6 +20,12 @@ if(BUILD_SHARED_LIBS)
|
||||
target_compile_definitions(libbz2 PRIVATE -DBZ_BUILD_DLL)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
|
||||
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
endif()
|
||||
|
||||
install(TARGETS libbz2
|
||||
RUNTIME DESTINATION bin
|
||||
ARCHIVE DESTINATION lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user