Skip to content

Commit

Permalink
Issue mkdir before copy translations - helps for out of source builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed Apr 16, 2022
1 parent 5bad72b commit 37e4be4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scidavis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ add_executable( scidavis
"${QM_FILES}"
)

message(${QM_FILES})

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

target_link_libraries( scidavis libscidavis )

Expand Down

0 comments on commit 37e4be4

Please sign in to comment.