We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e0d416 commit 2da1f81Copy full SHA for 2da1f81
cmake/FindIconv.cmake
@@ -76,7 +76,11 @@ else()
76
endif()
77
78
if(Iconv_FOUND AND NOT TARGET Iconv::Iconv)
79
- add_library(Iconv::Iconv INTERFACE IMPORTED)
+ if(Iconv_IS_BUILT_IN)
80
+ add_library(Iconv::Iconv INTERFACE IMPORTED)
81
+ else()
82
+ add_library(Iconv::Iconv UNKNOWN IMPORTED)
83
+ endif()
84
if(NOT Iconv_IS_BUILT_IN AND Iconv_LIBRARY_RELEASE)
85
set_property(TARGET Iconv::Iconv APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
86
set_target_properties(Iconv::Iconv PROPERTIES IMPORTED_LOCATION_RELEASE "${Iconv_LIBRARY_RELEASE}")
0 commit comments