update data files copy in cmake project

master
Palana 2013-12-30 03:31:55 +01:00
parent 3462a9b8b9
commit e8ee39560c
2 changed files with 10 additions and 1 deletions

View File

@ -86,5 +86,7 @@ target_link_libraries(libobs
${LIBAVUTIL_LIBRARIES}
${LIBSWRESAMPLE_LIBRARIES})
file(COPY ${obs_SOURCE_DIR}/build/data/libobs/default.effect DESTINATION
file(COPY
${obs_SOURCE_DIR}/build/data/libobs/default.effect
DESTINATION
${obs_BINARY_DIR}/data/libobs/)

View File

@ -97,3 +97,10 @@ if(APPLE)
set_target_properties(obs PROPERTIES
MACOSX_BUNDLE ${BUILD_APP_BUNDLE})
endif()
file(COPY
${obs_SOURCE_DIR}/build/data/obs-studio/locale/en.txt
${obs_SOURCE_DIR}/build/data/obs-studio/locale/ja.txt
${obs_SOURCE_DIR}/build/data/obs-studio/locale/locale.ini
DESTINATION
${obs_BINARY_DIR}/data/obs-studio/locale/)