Fix comments and documentation of variables whose meaning and name were modified.

Also remove use of inexistant variable.
master
safety0ff 2011-07-27 23:25:02 +00:00
parent dd96412f66
commit e1f78ed5fb
1 changed files with 3 additions and 4 deletions

View File

@ -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
# vim: ts=4:sw=4:expandtab