From 57f37bf88a920e3b5de6b5e63904ff282d61af3b Mon Sep 17 00:00:00 2001 From: Syping Date: Fri, 12 Nov 2021 22:21:38 +0100 Subject: [PATCH] CMake: Fix incorrect number of arguments at INSTALL_RPATH --- examples/ragephoto-gtkviewer/CMakeLists.txt | 2 +- examples/ragephoto-qtviewer/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ragephoto-gtkviewer/CMakeLists.txt b/examples/ragephoto-gtkviewer/CMakeLists.txt index 5910025..233617f 100644 --- a/examples/ragephoto-gtkviewer/CMakeLists.txt +++ b/examples/ragephoto-gtkviewer/CMakeLists.txt @@ -40,7 +40,7 @@ endif() add_executable(ragephoto-gtkviewer WIN32 ${GTKVIEWER_SOURCES}) set_target_properties(ragephoto-gtkviewer PROPERTIES - INSTALL_RPATH ${GTKMM_LIBRARY_DIRS};${RAGEPHOTO_LIBRARY_DIRS} + INSTALL_RPATH "${GTKMM_LIBRARY_DIRS};${RAGEPHOTO_LIBRARY_DIRS}" ) target_compile_options(ragephoto-gtkviewer PRIVATE ${GTKMM_CFLAGS} ${RAGEPHOTO_CFLAGS}) target_link_libraries(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARIES} ${RAGEPHOTO_LIBRARIES}) diff --git a/examples/ragephoto-qtviewer/CMakeLists.txt b/examples/ragephoto-qtviewer/CMakeLists.txt index d7a8d67..9b438e5 100644 --- a/examples/ragephoto-qtviewer/CMakeLists.txt +++ b/examples/ragephoto-qtviewer/CMakeLists.txt @@ -46,7 +46,7 @@ endif() add_executable(ragephoto-qtviewer WIN32 ${QTVIEWER_SOURCES}) set_target_properties(ragephoto-qtviewer PROPERTIES - INSTALL_RPATH ${RAGEPHOTO_LIBRARY_DIRS} + INSTALL_RPATH "${RAGEPHOTO_LIBRARY_DIRS}" ) target_compile_options(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_CFLAGS}) target_link_libraries(ragephoto-qtviewer PRIVATE Qt${QT_VERSION_MAJOR}::Widgets ${RAGEPHOTO_LIBRARIES})