From c2fa29800c64f5bda04203bb2eb1845b29c1de3c Mon Sep 17 00:00:00 2001 From: rewine Date: Fri, 25 Mar 2022 18:20:17 +0800 Subject: [PATCH] fix install path for nix --- qimage-plugins/libraw/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qimage-plugins/libraw/CMakeLists.txt b/qimage-plugins/libraw/CMakeLists.txt index 4bfd85ad..00d11bd3 100644 --- a/qimage-plugins/libraw/CMakeLists.txt +++ b/qimage-plugins/libraw/CMakeLists.txt @@ -44,7 +44,6 @@ target_include_directories(xraw PUBLIC ${RAW_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIR target_link_libraries(${CMD_NAME} Qt5::Core Qt5::Gui raw) -install(TARGETS ${CMD_NAME} DESTINATION ${Qt5Core_DIR}/../../qt5/plugins/imageformats) - +install(TARGETS ${CMD_NAME} DESTINATION qt5/plugins/imageformats) QT5_USE_MODULES(${PROJECT_NAME} Core Gui) -- 2.35.1