mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 03:49:07 +08:00
d12cbb40ed
* Fix _IMPORT_PREFIX * Export cmake targets file * Fix config * Make separate omplapp port * Run x-add-version for omplapp * Fix versions * Fix omplapp static builds * Run x-add-version * Update ports/omplapp/portfile.cmake Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * Update ports/omplapp/portfile.cmake Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * Put files in quotes * Run x-add-version Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4c7e6901..a433b7da 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -136,7 +136,7 @@ find_package(Drawstuff QUIET)
|
|
set_package_properties(assimp PROPERTIES
|
|
URL "http://assimp.org"
|
|
PURPOSE "Used in ompl_app for reading meshes representing robots and environments.")
|
|
-find_package(assimp REQUIRED)
|
|
+find_package(assimp CONFIG REQUIRED)
|
|
set_package_properties(ccd PROPERTIES
|
|
URL "https://github.com/danfis/libccd"
|
|
PURPOSE "Collision detection library used by fcl.")
|
|
@@ -178,8 +178,7 @@ include_directories(
|
|
"${OMPLAPP_INCLUDE_DIRS}"
|
|
"${OMPL_INCLUDE_DIRS}"
|
|
"${EIGEN3_INCLUDE_DIR}"
|
|
- "${FCL_INCLUDE_DIRS}"
|
|
- "${ASSIMP_INCLUDE_DIRS}")
|
|
+ "${FCL_INCLUDE_DIRS}")
|
|
|
|
# ROS installs fcl in /usr. In /usr/include/fcl/config.h it says octomap was
|
|
# enabled. Octomap is installed in /opt/ros/${ROS_DISTRO}/include (most
|
|
@@ -195,7 +194,7 @@ set(OMPLAPP_MODULE_LIBRARIES
|
|
${FCL_LIBRARIES})
|
|
set(OMPLAPP_LIBRARIES
|
|
${OPENGL_LIBRARIES}
|
|
- ${ASSIMP_LIBRARIES}
|
|
+ assimp::assimp
|
|
${FCL_LIBRARIES})
|
|
link_directories(${ASSIMP_LIBRARY_DIRS} ${CCD_LIBRARY_DIRS} ${OCTOMAP_LIBRARY_DIRS} ${FCL_LIBRARY_DIRS})
|
|
|