From 549e128aba481dd8bbb654605a323da39909fd4a Mon Sep 17 00:00:00 2001
From: Piotr Dziwinski <piotrdz@gmail.com>
Date: Sun, 21 Sep 2014 12:17:50 +0200
Subject: [PATCH] Fix installation of chaptertitle files without PO4A

---
 levels/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/levels/CMakeLists.txt b/levels/CMakeLists.txt
index d01043f1..6b4764ad 100644
--- a/levels/CMakeLists.txt
+++ b/levels/CMakeLists.txt
@@ -17,7 +17,7 @@ function(add_level_category level_category_dir)
                                     ${level_category_dir}/po
                                     ${DATA_BINARY_DIR}/levels-po/${level_category_dir})
     else()
-        set(translated_chaptertitle_files ${chaptertitle_files})
+        file(GLOB translated_chaptertitle_files ${level_category_dir}/chapter*/chaptertitle.txt)
     endif()
 
     file(GLOB chapter_dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${level_category_dir}/chapter*)