mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 02:27:09 +01:00
[fcl] Explicity handle FCL_USE_X64_SSE CMake option (#11406)
* [fcl] Explicity handle FCL_USE_X64_SSE CMake option The FCL_USE_X64_SSE option is enabled by default in fcl, but it only make sense to enable SSE flags when targeting either x86 or x64. * Update CONTROL
This commit is contained in:
parent
07537f9a9b
commit
3b79a2d257
@ -1,5 +1,5 @@
|
|||||||
Source: fcl
|
Source: fcl
|
||||||
Version: 0.6.0
|
Version: 0.6.0-1
|
||||||
Homepage: https://github.com/flexible-collision-library/fcl
|
Homepage: https://github.com/flexible-collision-library/fcl
|
||||||
Description: a library for performing three types of proximity queries on a pair of geometric models composed of triangles
|
Description: a library for performing three types of proximity queries on a pair of geometric models composed of triangles
|
||||||
Build-Depends: ccd, octomap, eigen3
|
Build-Depends: ccd, octomap, eigen3
|
||||||
|
@ -14,12 +14,19 @@ else()
|
|||||||
set(FCL_STATIC_LIBRARY OFF)
|
set(FCL_STATIC_LIBRARY OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
||||||
|
set(FCL_USE_X64_SSE ON)
|
||||||
|
else()
|
||||||
|
set(FCL_USE_X64_SSE OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DFCL_STATIC_LIBRARY=${FCL_STATIC_LIBRARY}
|
-DFCL_STATIC_LIBRARY=${FCL_STATIC_LIBRARY}
|
||||||
-DFCL_BUILD_TESTS=OFF
|
-DFCL_BUILD_TESTS=OFF
|
||||||
|
-DFCL_USE_X64_SSE=${FCL_USE_X64_SSE}
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user