Skip to content

Commit

Permalink
don't fail if translations already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed Apr 16, 2022
1 parent 37e4be4 commit 160b1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scidavis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ add_executable( scidavis
)

# SciDAVis expects qm files to be in the translations directory. qt5_create_translation puts them somewhere else
add_custom_command(TARGET scidavis COMMAND mkdir translations && cp ${QM_FILES} translations)
add_custom_command(TARGET scidavis COMMAND mkdir -p translations || cp ${QM_FILES} translations)

target_link_libraries( scidavis libscidavis )

Expand Down

0 comments on commit 160b1b3

Please sign in to comment.