vcpkg/ports/openimageio/vcpkg-cmake-wrapper.cmake

9 lines
232 B
CMake
Raw Normal View History

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})