mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 03:29:06 +08:00
657d66a6cb
* [libraw] Re-fix non-thread-safe library installation, always export pkgconfig files, add usage * format manifest and version * Update ports/libraw/portfile.cmake * Update ports/libraw/portfile.cmake * Update ports/libraw/portfile.cmake * update version * version * Fix wrapper and usage * version * apply suggestions * version * Fix cmake install path * version * Fix usage * version
13 lines
435 B
CMake
13 lines
435 B
CMake
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()
|