mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-20 15:27:51 +08:00
19 lines
871 B
CMake
19 lines
871 B
CMake
# Explicitly disable cross-compilation until the upstream discussion
|
|
# https://github.com/ignitionrobotics/ign-msgs/issues/34 is solved
|
|
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
|
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
|
|
|
|
# This port needs to generate protobuf messages with a custom plugin generator,
|
|
# so it needs to have in Windows the relative protobuf dll available in the PATH
|
|
set(path_backup $ENV{PATH})
|
|
vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/bin)
|
|
vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/debug/bin)
|
|
|
|
ignition_modular_library(NAME msgs
|
|
VERSION "6.0.0"
|
|
SHA512 d1d6f6602ae33ec95b36c5df7815b06970f349492ef0309d8aacbaf2dca0c3e7314bbd64890a2554485fbd52f148a90b7bf54dceb0b3a1dd40eeb1f5bdb9613c)
|
|
|
|
# Restore old path
|
|
set(ENV{PATH} "${path_backup}")
|