Skip to content

Commit

Permalink
[build] install scripts/srt-ffplay in the bin directory
Browse files Browse the repository at this point in the history
We don't need to use CMAKE_INSTALL_BINDIR which is not defined when
GNUInstallDirs is not used. Using "TYPE BIN" will have the same result
and will automatically pick the same as CMAKE_INSTALL_BINDIR.

https://cmake.org/cmake/help/latest/command/install.html#installing-files
  • Loading branch information
robUx4 committed Sep 6, 2022
1 parent 3e1b26a commit 63421b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -1339,7 +1339,7 @@ if (ENABLE_UNITTESTS AND ENABLE_CXX11)
endif()


install(PROGRAMS scripts/srt-ffplay DESTINATION ${CMAKE_INSTALL_BINDIR})
install(PROGRAMS TYPE BIN scripts/srt-ffplay)


if (DEFINED SRT_EXTRA_APPS_INC)
Expand Down

0 comments on commit 63421b7

Please sign in to comment.