vcpkg/ports/openimageio/vcpkg-cmake-wrapper.cmake
Griffin Downs 743e168ef5
[openimageio] find_package support (#7588)
* Copy find module to share; Append share to module path

* Bump version
2019-08-08 17:46:04 -07:00

9 lines
232 B
CMake

set(OPENIMAGEIO_PREV_MODULE_PATH ${CMAKE_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
if(NOT OPENIMAGEIO_LIBRARIES)
_find_package(${ARGS})
endif()
set(CMAKE_MODULE_PATH ${OPENIMAGEIO_PREV_MODULE_PATH})