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
1 changed files with 1 additions and 0 deletions

View File

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