aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-02 13:16:34 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-02 13:16:34 -0700
commit53cfd70b1e23964bbdf2bee66f8a6ace7e3fee6d (patch)
tree10789d52ade8f8279ee44380d4d3371e7058c8f5
parentd962ccfac468aa04bfcbca5ad923b84c53c2d916 (diff)
downloadvcpkg-53cfd70b1e23964bbdf2bee66f8a6ace7e3fee6d.tar.gz
vcpkg-53cfd70b1e23964bbdf2bee66f8a6ace7e3fee6d.zip
[libraw] Redirect FindLibRaw.cmake to the share/libraw folder
-rw-r--r--ports/libraw/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libraw/portfile.cmake b/ports/libraw/portfile.cmake
index 18bb5f590..4d5621285 100644
--- a/ports/libraw/portfile.cmake
+++ b/ports/libraw/portfile.cmake
@@ -23,10 +23,14 @@ file(COPY ${LIBRAW_CMAKE_SOURCE_PATH}/cmake DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ -DINSTALL_CMAKE_MODULE_PATH=${SOURCE_PATH}
)
vcpkg_install_cmake()
+file(COPY ${SOURCE_PATH}/FindLibRaw.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/libraw/cmake/FindLibRaw.cmake)
+
# Cleanup
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(GLOB RELEASE_EXECUTABLES ${CURRENT_PACKAGES_DIR}/bin/*.exe)