Browse Source

CMake: Fix incorrect number of arguments at INSTALL_RPATH

master
Syping 2 weeks ago
parent
commit
57f37bf88a
  1. 2
      examples/ragephoto-gtkviewer/CMakeLists.txt
  2. 2
      examples/ragephoto-qtviewer/CMakeLists.txt

2
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})

2
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})

Loading…
Cancel
Save