mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[wxwidgets] Disable cotire on OSX due to appleclang
This commit is contained in:
parent
bdc430c8ec
commit
d931d74c11
@ -1,4 +1,4 @@
|
||||
Source: wxwidgets
|
||||
Version: 3.1.2
|
||||
Version: 3.1.2-1
|
||||
Description: wxWidgets is a widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications.
|
||||
Build-Depends: zlib, libpng, tiff, expat
|
||||
|
@ -8,6 +8,11 @@ vcpkg_from_github(
|
||||
PATCHES disable-platform-lib-dir.patch
|
||||
)
|
||||
|
||||
set(OPTIONS)
|
||||
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(OPTIONS -DCOTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES=9999)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
@ -20,10 +25,13 @@ vcpkg_configure_cmake(
|
||||
-DwxUSE_LIBTIFF=sys
|
||||
-DwxUSE_STL=ON
|
||||
-DwxBUILD_DISABLE_PLATFORM_LIB_DIR=ON
|
||||
${OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
|
||||
file(GLOB DLLS "${CURRENT_PACKAGES_DIR}/lib/*.dll")
|
||||
if(DLLS)
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user