[fcl] fix linux build (#5582)

* [fcl] fix linux build

Set correct path of cmake config files
This commit is contained in:
markdegreef 2019-04-01 22:35:22 +02:00 committed by Phil Christensen
parent a1c6edd6ed
commit 575df0550c
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Source: fcl
Version: 0.5.0-3
Version: 0.5.0-4
Description: a library for performing three types of proximity queries on a pair of geometric models composed of triangles
Build-Depends: ccd, octomap

View File

@ -36,7 +36,12 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH "cmake/")
if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake)
vcpkg_fixup_cmake_targets(CONFIG_PATH "CMake")
else()
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/fcl")
endif()
file(READ ${CURRENT_PACKAGES_DIR}/share/fcl/fclConfig.cmake FCL_CONFIG)
string(REPLACE "unset(_expectedTargets)"