mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 21:14:08 +00:00
More CMakeLists.txt dependency fixes
This commit is contained in:
parent
2d2b721072
commit
765ba61ac2
@ -93,11 +93,13 @@ add_subdirectory(src/plugins/stockencoders)
|
||||
|
||||
if (${FFMPEG_DECODER} MATCHES "true")
|
||||
add_subdirectory(src/plugins/ffmpegdecoder)
|
||||
add_dependencies(musikcube ffmpegdecoder)
|
||||
else()
|
||||
add_subdirectory(src/plugins/m4adecoder)
|
||||
add_subdirectory(src/plugins/oggdecoder)
|
||||
add_subdirectory(src/plugins/nomaddecoder)
|
||||
add_subdirectory(src/plugins/flacdecoder)
|
||||
add_dependencies(musikcube m4adecoder oggdecoder nomaddecoder flacdecoder)
|
||||
endif()
|
||||
|
||||
add_dependencies(taglibreader taglib)
|
||||
@ -203,4 +205,4 @@ endif()
|
||||
# to file glob in. these won't be picked up on the initial build because
|
||||
# they don't yet exist!
|
||||
add_custom_target(postbuild ALL DEPENDS musikcube)
|
||||
add_custom_command(TARGET postbuild POST_BUILD COMMAND cmake .)
|
||||
add_custom_command(TARGET postbuild POST_BUILD COMMAND cmake .)
|
||||
|
Loading…
Reference in New Issue
Block a user