Commit f389ebaf authored by Kevin Whitaker's avatar Kevin Whitaker

put in base of install root when installing.

parent 3bb52e25
......@@ -12,6 +12,6 @@ find_package(TagLib REQUIRED)
add_executable(arbitrateor src/main.cpp src/WebInterface.cpp src/GroovePlayer.cpp src/ui/LoginInterface.cpp src/ui/PlayerInterface.cpp src/ui/TrackDetails.cpp src/ui/RequestInterface.cpp src/ui/UploadInterface.cpp src/ui/AdminInterface.cpp)
target_link_libraries(arbitrateor ${Wt_LIBRARIES} ${GROOVE_LIBRARY} ${GROOVE_FINGERPRINT_LIBRARY} ${GROOVE_PLAYER_LIBRARY} ${TAGLIB_LIBRARY} pthread boost_system stdc++fs) #TODO get threading links based on platform. Remove gcc experimental fs when official c++17 exists.
install(TARGETS arbitrateor RUNTIME DESTINATION bin)
install(FILES ${CMAKE_SOURCE_DIR}/wt_config.xml DESTINATION bin)
install(FILES ${CMAKE_SOURCE_DIR}/run.sh DESTINATION bin)
install(TARGETS arbitrateor RUNTIME DESTINATION .)
install(FILES ${CMAKE_SOURCE_DIR}/wt_config.xml DESTINATION .)
install(FILES ${CMAKE_SOURCE_DIR}/run.sh DESTINATION .)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment