set(LIBRAW_PREV_MODULE_PATH ${CMAKE_MODULE_PATH}) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}) _find_package(${ARGS}) set(CMAKE_MODULE_PATH ${LIBRAW_PREV_MODULE_PATH}) if (@VCPKG_LIBRARY_LINKAGE@ STREQUAL "static") find_package(Jasper REQUIRED) if (Jasper_FOUND) list(APPEND LibRaw_LIBRARIES ${JASPER_LIBRARIES}) list(APPEND LibRaw_r_LIBRARIES ${JASPER_LIBRARIES}) endif () endif()