diff --git a/CMakeLists.txt b/CMakeLists.txt index ccec98c..b9d578c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,7 +88,7 @@ set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/po/${PROJECT_NAME}.pot) add_custom_command (OUTPUT ${_potFile} COMMAND xgettext --keyword=translate -o ${_potFile} ${sources} - DEPENDS ${_src_list} + DEPENDS ${sources} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Extract translatable messages to ${_potFile}" )