aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkdegreef <mgreef@gmail.com>2019-04-01 22:35:22 +0200
committerPhil Christensen <philc@microsoft.com>2019-04-01 13:35:22 -0700
commit575df0550cefa72e4e5280337770d2ba5079db91 (patch)
treebf1d9b5a237e30e82a2de5fad37c3c13b69c7fe5
parenta1c6edd6ed96e5ec0b64ca9818a42ce063dd892a (diff)
downloadvcpkg-575df0550cefa72e4e5280337770d2ba5079db91.tar.gz
vcpkg-575df0550cefa72e4e5280337770d2ba5079db91.zip
[fcl] fix linux build (#5582)
* [fcl] fix linux build Set correct path of cmake config files
-rw-r--r--ports/fcl/CONTROL2
-rw-r--r--ports/fcl/portfile.cmake7
2 files changed, 7 insertions, 2 deletions
diff --git a/ports/fcl/CONTROL b/ports/fcl/CONTROL
index 0e425f59b..e486cf90a 100644
--- a/ports/fcl/CONTROL
+++ b/ports/fcl/CONTROL
@@ -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
diff --git a/ports/fcl/portfile.cmake b/ports/fcl/portfile.cmake
index 851a013c2..92781872f 100644
--- a/ports/fcl/portfile.cmake
+++ b/ports/fcl/portfile.cmake
@@ -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)"