From bb664a1e794860fe86c2bca6d8e92d78fade1dd8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 May 2017 03:30:17 +0200 Subject: cmake: fix makefile dependencies --- cmake/opentrack-boilerplate.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake') diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 3c5bd90a..4c056c3e 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -112,6 +112,7 @@ endfunction() function(otr_i18n_for_target_directory n) foreach(i ${opentrack-all-translations}) set(t "${CMAKE_CURRENT_SOURCE_DIR}/lang/${i}.ts") + file(RELATIVE_PATH t "${CMAKE_SOURCE_DIR}" "${t}") add_custom_command(OUTPUT "${t}" COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_SOURCE_DIR}/lang" COMMAND "${Qt5_DIR}/../../../bin/lupdate" -silent -recursive -no-obsolete -locations relative . -ts "${t}" -- cgit v1.2.3