mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-12-04 17:26:25 +00:00
Remove unused headers and files
This commit is contained in:
parent
2e35e0a145
commit
7561bbd045
@ -30,9 +30,7 @@ include_directories(${Libiconv_SOURCE_DIR} ${Libiconv_BINARY_DIR})
|
||||
set(libname libcharset)
|
||||
set(libcharset_source_dir ${Libiconv_SOURCE_DIR}/libcharset)
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DLIBDIR)
|
||||
endif()
|
||||
add_definitions(-DLIBDIR)
|
||||
|
||||
configure_file(
|
||||
${Libiconv_SOURCE_DIR}/libcharset/include/localcharset.h.build.in
|
||||
@ -58,18 +56,6 @@ configure_file(
|
||||
${Libiconv_BINARY_DIR}/iconv.h
|
||||
)
|
||||
|
||||
list(APPEND simple_header_config
|
||||
uniwidth
|
||||
unitypes
|
||||
)
|
||||
|
||||
foreach(header ${simple_header_config})
|
||||
configure_file(
|
||||
${Libiconv_SOURCE_DIR}/srclib/${header}.in.h
|
||||
${Libiconv_BINARY_DIR}/${header}.h
|
||||
)
|
||||
endforeach()
|
||||
|
||||
set(${libname}_sources
|
||||
${Libiconv_SOURCE_DIR}/lib/iconv.c
|
||||
${Libiconv_BINARY_DIR}/iconv.h
|
||||
@ -90,12 +76,3 @@ install(TARGETS ${Libiconv_TARGETS}
|
||||
)
|
||||
|
||||
install(FILES ${Libiconv_headers} DESTINATION include)
|
||||
|
||||
set(Libiconv_TARGETS_FILE ${Libiconv_BINARY_DIR}/LibiconvTargets.cmake)
|
||||
export(TARGETS ${Libiconv_TARGETS} FILE ${Libiconv_TARGETS_FILE})
|
||||
|
||||
configure_file(
|
||||
${Libiconv_SOURCE_DIR}/LibiconvConfig.cmake.in
|
||||
${Libiconv_BINARY_DIR}/LibiconvConfig.cmake
|
||||
@ONLY
|
||||
)
|
||||
|
@ -1,12 +0,0 @@
|
||||
#
|
||||
# Use file for libiconv. Auto-generated, any change here might be overwritten
|
||||
# without any warning.
|
||||
#
|
||||
|
||||
set(Libiconv_SOURCE_DIR "@Libiconv_SOURCE_DIR@")
|
||||
set(Libiconv_BINARY_DIR "@Libiconv_BINARY_DIR@")
|
||||
set(Libiconv_LIBRARIES "@Libiconv_TARGETS@")
|
||||
|
||||
if(EXISTS "@Libiconv_TARGETS_FILE@" AND NOT TARGET libcharset)
|
||||
include("@Libiconv_TARGETS_FILE@")
|
||||
endif()
|
@ -8,7 +8,6 @@ vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
#Since libiconv uses automake, make and configure, we use a custom CMake file
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${CURRENT_BUILDTREES_DIR}/src/libiconv-1.14/)
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/LibiconvConfig.cmake.in DESTINATION ${CURRENT_BUILDTREES_DIR}/src/libiconv-1.14/)
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libiconv-1.14/
|
||||
|
Loading…
Reference in New Issue
Block a user