mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:11:39 +08:00
b18b17865c
* update intel-ipsec to v1.1 * Update portfile.cmake, correct the install file path * Add more double quotes * Revert changes about double quotes * version * [intel-ipsec] Overhaul/modernize port. * Remove CMakeLists.txt replacement that was a fancy way to say vcpkg_from_make/vcpkg_from_nmake. * Convert support messages into a "supports" expression. * Fix Windows. * Correct CMake config handling of release/debug static/shared and Windows. * Remove attempt to copy nonexistent PDBs. * Apply CR feedback from Nicole and dg0yt * Add if(TARGET * Update always-generate-PDB patch with the version actually merged upstream. Co-authored-by: Mengna-Li <you@example.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
17 lines
664 B
CMake
17 lines
664 B
CMake
if(TARGET IPSEC::ipsec)
|
|
return()
|
|
endif()
|
|
|
|
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) # intel-ipsec
|
|
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) # share
|
|
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) # package root
|
|
add_library(IPSEC::ipsec @INTEL_IPSEC_STATIC_OR_SHARED@ IMPORTED)
|
|
set_target_properties(IPSEC::ipsec PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include")
|
|
set(IPSEC_ipsec_FOUND 1)
|
|
|
|
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
file(GLOB CONFIG_FILES "${_DIR}/intel-ipsec-targets-*.cmake")
|
|
foreach(f ${CONFIG_FILES})
|
|
include(${f})
|
|
endforeach()
|