mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 18:09:31 +08:00
1a2b03edee
* [double-conversion] update to 3.2.1 * v db * adjust itk patch * v db * check correct variable * Fix typo * v db
23 lines
1.4 KiB
Diff
23 lines
1.4 KiB
Diff
diff --git a/Modules/ThirdParty/DoubleConversion/CMakeLists.txt b/Modules/ThirdParty/DoubleConversion/CMakeLists.txt
|
|
index 16c611fd3..13978724c 100644
|
|
--- a/Modules/ThirdParty/DoubleConversion/CMakeLists.txt
|
|
+++ b/Modules/ThirdParty/DoubleConversion/CMakeLists.txt
|
|
@@ -9,7 +9,16 @@ mark_as_advanced(ITK_USE_SYSTEM_DOUBLECONVERSION)
|
|
if(ITK_USE_SYSTEM_DOUBLECONVERSION)
|
|
find_package(double-conversion REQUIRED)
|
|
get_target_property(ITKDoubleConversion_INCLUDE_DIRS double-conversion::double-conversion INTERFACE_INCLUDE_DIRECTORIES)
|
|
- get_target_property(ITKDoubleConversion_LIBRARIES double-conversion::double-conversion LOCATION)
|
|
+ get_target_property(ITKDoubleConversion_LIBRARY_RELEASE double-conversion::double-conversion IMPORTED_IMPLIB_RELEASE)
|
|
+ if(NOT ITKDoubleConversion_LIBRARY_RELEASE)
|
|
+ get_target_property(ITKDoubleConversion_LIBRARY_RELEASE double-conversion::double-conversion IMPORTED_LOCATION_RELEASE)
|
|
+ endif()
|
|
+ get_target_property(ITKDoubleConversion_LIBRARY_DEBUG double-conversion::double-conversion IMPORTED_IMPLIB_DEBUG)
|
|
+ if(NOT ITKDoubleConversion_LIBRARY_DEBUG)
|
|
+ get_target_property(ITKDoubleConversion_LIBRARY_DEBUG double-conversion::double-conversion IMPORTED_LOCATION_DEBUG)
|
|
+ endif()
|
|
+ include(SelectLibraryConfigurations)
|
|
+ select_library_configurations(ITKDoubleConversion)
|
|
else()
|
|
set(ITKDoubleConversion_INCLUDE_DIRS
|
|
${ITKDoubleConversion_SOURCE_DIR}/src
|