Fix cmake build of map_extract

This commit is contained in:
def 2017-06-12 21:23:45 +02:00
parent 3aaf38cefb
commit 2365958227

View file

@ -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_")