mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:49:00 +08:00
29286672ee
* [openvdb] Fix vcpkg-cmake-wrapper * update version record
13 lines
343 B
CMake
13 lines
343 B
CMake
set(OPENVDB_PREV_MODULE_PATH ${CMAKE_MODULE_PATH})
|
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
list(REMOVE_ITEM ARGS "NO_MODULE")
|
|
list(REMOVE_ITEM ARGS "CONFIG")
|
|
list(REMOVE_ITEM ARGS "MODULE")
|
|
|
|
set(OPENVDB_USE_STATIC_LIBS @OPENVDB_STATIC@)
|
|
|
|
_find_package(${ARGS})
|
|
|
|
set(CMAKE_MODULE_PATH ${OPENVDB_PREV_MODULE_PATH})
|