mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Build fixes for Windows
This commit is contained in:
@@ -757,26 +757,18 @@ if(WIN32 AND (CMAKE_BUILD_TYPE MATCHES Debug))
|
||||
endif()
|
||||
|
||||
if(PCRE2_BUILD_PCRE2_8)
|
||||
configure_file(libpcre2-posix.pc.in libpcre2-posix.pc @ONLY)
|
||||
list(APPEND pkg_config_files "${CMAKE_CURRENT_BINARY_DIR}/libpcre2-posix.pc")
|
||||
configure_file(libpcre2-8.pc.in libpcre2-8.pc @ONLY)
|
||||
list(APPEND pkg_config_files "${CMAKE_CURRENT_BINARY_DIR}/libpcre2-8.pc")
|
||||
set(enable_pcre2_8 "yes")
|
||||
else()
|
||||
set(enable_pcre2_8 "no")
|
||||
endif()
|
||||
|
||||
if(PCRE2_BUILD_PCRE2_16)
|
||||
configure_file(libpcre2-16.pc.in libpcre2-16.pc @ONLY)
|
||||
list(APPEND pkg_config_files "${CMAKE_CURRENT_BINARY_DIR}/libpcre2-16.pc")
|
||||
set(enable_pcre2_16 "yes")
|
||||
else()
|
||||
set(enable_pcre2_16 "no")
|
||||
endif()
|
||||
|
||||
if(PCRE2_BUILD_PCRE2_32)
|
||||
configure_file(libpcre2-32.pc.in libpcre2-32.pc @ONLY)
|
||||
list(APPEND pkg_config_files "${CMAKE_CURRENT_BINARY_DIR}/libpcre2-32.pc")
|
||||
set(enable_pcre2_32 "yes")
|
||||
else()
|
||||
set(enable_pcre2_32 "no")
|
||||
|
||||
Reference in New Issue
Block a user