Skip to content

Commit

Permalink
Fix installation of converted ogg-files
Browse files Browse the repository at this point in the history
  • Loading branch information
OdyX committed Jan 27, 2025
1 parent 910b0dd commit c36a4cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions music/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ if(MUSIC)
message(STATUS "Adding OGG convert target for ${FILE}")

execute_process(
COMMAND ${OGGENC} -q ${MUSIC_QUALITY} -o "${FILENAME}.ogg" "${DOWNLOAD_FILE_LOC}"
COMMAND ${OGGENC} -q ${MUSIC_QUALITY} -o "${CMAKE_CURRENT_BINARY_DIR}/${FILENAME}.ogg" "${DOWNLOAD_FILE_LOC}"
)

install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME}.ogg
${CMAKE_CURRENT_BINARY_DIR}/${FILENAME}.ogg
DESTINATION ${COLOBOT_INSTALL_MUSIC_DIR}
)
endif()
Expand Down

0 comments on commit c36a4cf

Please sign in to comment.