Skip to content

Commit

Permalink
Fixes #283 TARGETS must be used to install gtk-3-fortran
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagnin committed May 7, 2024
1 parent 8a240dc commit 9d0ee93
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#=============================================================================
# Contributed by Kyle Horne: 05.11.2011
# Last modifications: Jens Hunger: 03/06/2013, ArmstrongJ: 07/04/2016,
# vmagnin: 2024-05-05
# vmagnin: 2024-05-07
#
# CMAKE build file for gtk-fortran

Expand Down Expand Up @@ -163,8 +163,7 @@ install(PROGRAMS
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)

install(PROGRAMS
"${CMAKE_CURRENT_BINARY_DIR}/${gtk_V_fortran}"
install(TARGETS ${gtk_V_fortran}
DESTINATION ${CMAKE_INSTALL_BINDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
Expand Down

0 comments on commit 9d0ee93

Please sign in to comment.