Skip to content

Commit

Permalink
cmake: switch executable mythtvsetup to mythtv-setup
Browse files Browse the repository at this point in the history
Remove: <runtime prefix>/bin/mythtvsetup if cmake was run prior to this
fix.
  • Loading branch information
Bill Meek committed Sep 1, 2024
1 parent 7af1bf5 commit 5bdafa4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mythtv/programs/mythtv-setup/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
add_executable(
mythtvsetup
mythtv-setup
backendsettings.cpp
backendsettings.h
channeleditor.cpp
Expand All @@ -17,10 +17,10 @@ add_executable(
startprompt.cpp
startprompt.h)

target_include_directories(mythtvsetup PRIVATE .)
target_include_directories(mythtv-setup PRIVATE .)

target_link_libraries(mythtvsetup PUBLIC myth mythtv mythbase mythui mythupnp)
target_link_libraries(mythtv-setup PUBLIC myth mythtv mythbase mythui mythupnp)

install(TARGETS mythtvsetup RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS mythtv-setup RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

install(FILES setup.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/mythtv)

0 comments on commit 5bdafa4

Please sign in to comment.