diff --git a/tools/map/CMakeLists.txt b/tools/map/CMakeLists.txt index c0410c0cf..8599650ce 100644 --- a/tools/map/CMakeLists.txt +++ b/tools/map/CMakeLists.txt @@ -29,9 +29,8 @@ if (NOT WZ_BUILD_DIR) message (SEND_ERROR "Warzone's config.h not found") endif () if (NOT WZ_SOURCE_DIR) - message (SEND_ERROR "Warzone's framework library include dir not found") + message (SEND_ERROR "Warzone's source dir not found") else () - # HACK to allow including like "lib/framework/whatever.h" set (WZ_FRAMEWORK_INCLUDE_DIRS ${WZ_SOURCE_DIR} ${WZ_BUILD_DIR} CACHE INTERNAL "") endif () @@ -104,7 +103,7 @@ set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin") include_directories(${WZ_FRAMEWORK_INCLUDE_DIRS} ${PNG_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${QT_INCLUDES} ${PHYSFS_INCLUDE_DIR}) -set(MAPTOOLS_LIBS ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${PHYSFS_LIBRARY} ${QT_LIBRARIES}) +set(MAPTOOLS_LIBS ${PNG_LIBRARIES} ${PHYSFS_LIBRARY} ${QT_LIBRARIES}) # map2lnd ADD_EXECUTABLE(map2lnd @@ -145,4 +144,4 @@ TARGET_LINK_LIBRARIES(mapinfo ${MAPTOOLS_LIBS}) ## Other stuff set (CONFIGURED YES CACHE INTERNAL "") -# vim: ts=4:sw=4:expandtab \ No newline at end of file +# vim: ts=4:sw=4:expandtab