mirror of https://github.com/microsoft/vcpkg.git
[fcl] fix linux build (#5582)
* [fcl] fix linux build Set correct path of cmake config files
This commit is contained in:
parent
a1c6edd6ed
commit
575df0550c
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue