mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
uwp builds need _CRT_SECURE_NO_WARNINGS and others defined
This commit is contained in:
parent
d776322d2a
commit
90fe56b015
@ -20,6 +20,12 @@ if(BUILD_SHARED_LIBS)
|
|||||||
target_compile_definitions(libbz2 PRIVATE -DBZ_BUILD_DLL)
|
target_compile_definitions(libbz2 PRIVATE -DBZ_BUILD_DLL)
|
||||||
endif()
|
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
|
install(TARGETS libbz2
|
||||||
RUNTIME DESTINATION bin
|
RUNTIME DESTINATION bin
|
||||||
ARCHIVE DESTINATION lib
|
ARCHIVE DESTINATION lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user