summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2023-04-03 10:20:13 +0300
committerPanu Matilainen <pmatilai@redhat.com>2023-04-04 09:49:58 +0300
commitb22b3af388f581b19397d896bbef8284b3c8b8ad (patch)
tree2b6ec3e8bea2711a4d5f11ff730f8d69e386ff5f
parent3cec5f81cd202946c2ea033c966919262daacb1e (diff)
downloadrpm-b22b3af388f581b19397d896bbef8284b3c8b8ad.tar.gz
Fix translation directory not getting added on out-of-tree builds
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d577876ea..6e3fae1fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -301,7 +301,7 @@ add_subdirectory(lib)
add_subdirectory(build)
add_subdirectory(sign)
-if (EXISTS po/rpm.pot)
+if (EXISTS ${CMAKE_SOURCE_DIR}/po/rpm.pot)
add_subdirectory(po)
endif()