mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 09:43:02 +08:00
[libpopt]Fix linux build. (#8652)
This commit is contained in:
parent
e916630f20
commit
a6f38607ba
@ -46,7 +46,9 @@ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
include_directories(${CMAKE_BINARY_DIR})
|
||||
|
||||
add_library(popt ${SOURCES})
|
||||
set_target_properties(popt PROPERTIES COMPILE_FLAGS "/wd4996")
|
||||
if (MSVC)
|
||||
target_compile_options(popt PRIVATE /wd4996)
|
||||
endif()
|
||||
|
||||
install(TARGETS popt
|
||||
RUNTIME DESTINATION bin
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: libpopt
|
||||
Version: 1.16-11
|
||||
Version: 1.16-12
|
||||
Description: Library for parsing command line parameters
|
||||
|
Loading…
Reference in New Issue
Block a user