From 23659582274320536539b4bc7ee459c1ca88bb49 Mon Sep 17 00:00:00 2001 From: def Date: Mon, 12 Jun 2017 21:23:45 +0200 Subject: [PATCH] Fix cmake build of map_extract --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ba967c8de..42f4ed182 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,7 +387,7 @@ file(GLOB TOOLS RELATIVE "${PROJECT_SOURCE_DIR}/src/tools/" "src/tools/*.cpp") foreach(T ${TOOLS}) string(REGEX REPLACE "\\.cpp$" "" TOOL "${T}") set(EXTRA_TOOL_SRC) - if(TOOL MATCHES "^(tileset_|dilate$)") + if(TOOL MATCHES "^(tileset_|dilate|map_extract$)") list(APPEND EXTRA_TOOL_SRC ${DEP_PNG}) endif() if(TOOL MATCHES "^config_")