Skip to content

Commit

Permalink
CODECS: Fixed compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Baryshev committed Dec 18, 2020
1 parent 55c4001 commit fb709ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sail-codecs-archive/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(SAIL_CODEC_INFO_SOURCES "")
foreach(codec ${ENABLED_CODECS})
get_target_property(CODEC_BINARY_DIR sail-codec-${codec} BINARY_DIR)

file(READ ${CODEC_BINARY_DIR}/sail-${codec}.codec.info SAIL_CODEC_INFO_CONTENTS)
file(READ ${CODEC_BINARY_DIR}/sail-codec-${codec}.codec.info SAIL_CODEC_INFO_CONTENTS)
string(REPLACE "\"" "\\\"" SAIL_CODEC_INFO_CONTENTS "${SAIL_CODEC_INFO_CONTENTS}")
# Add \n\ on every line
string(REGEX REPLACE "\n" "\\\\n\\\\\n" SAIL_CODEC_INFO_CONTENTS "${SAIL_CODEC_INFO_CONTENTS}")
Expand Down

0 comments on commit fb709ac

Please sign in to comment.