mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 16:29:00 +08:00
91393faf12
* [ignition-common3] Fix usage for graph * version * Apply suggestion * version * Add option OPTIONS, add pkgconfig support, refactor function option declarations * Remove cmake find module installation, add pkgconfig support and fix PRIVATE_FOR limit * Apply suggestions, fix dependency libxml2 * version
13 lines
724 B
CMake
13 lines
724 B
CMake
ignition_modular_library(NAME common
|
|
VERSION "3.9.0"
|
|
SHA512 1bae86efd7da10ac517d67a75ad1b612ea2046128eb75e0f0a134ffff7cc76431e850a9b46fdb7dc6603e2acb044f4204fdedaf38fc7bff82883db3f36830fb9
|
|
OPTIONS -DUSE_EXTERNAL_TINYXML2=ON
|
|
PATCHES fix-dependencies.patch)
|
|
|
|
# Remove non-relocatable helper scripts (see https://github.com/ignitionrobotics/ign-common/issues/82)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/ign_remotery_vis" "${CURRENT_PACKAGES_DIR}/debug/bin/ign_remotery_vis")
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
|
endif()
|