CMake: install ragephoto-gtkviewer in bin folder

This commit is contained in:
Syping 2021-08-27 05:41:12 +02:00
parent e1bdccfb0d
commit 350916588f

View file

@ -25,6 +25,7 @@ if(TARGET ragephoto)
target_link_libraries(ragephoto-gtkviewer ${gtkmm_LIBRARIES} ragephoto) target_link_libraries(ragephoto-gtkviewer ${gtkmm_LIBRARIES} ragephoto)
target_link_directories(ragephoto-gtkviewer PRIVATE ${gtkmm_LIBRARY_DIRS}) target_link_directories(ragephoto-gtkviewer PRIVATE ${gtkmm_LIBRARY_DIRS})
target_include_directories(ragephoto-gtkviewer PRIVATE ${gtkmm_INCLUDE_DIRS} ${RAGEPHOTO_INCLUDE_DIRS}) target_include_directories(ragephoto-gtkviewer PRIVATE ${gtkmm_INCLUDE_DIRS} ${RAGEPHOTO_INCLUDE_DIRS})
install(TARGETS ragephoto-gtkviewer DESTINATION bin)
else() else()
message("ragephoto-gtkviewer need to be build with libragephoto together") message("ragephoto-gtkviewer need to be build with libragephoto together")
endif() endif()