Hi,
i found an issue in the FindCityGML.cmake file.
If there is no debug version of the library available, the variable
CITYGML_LIBRARIES does not get set.
Fix at the bottom of the file:
IF(CITYGML_LIBRARY AND CITYGML_INCLUDE_DIR)
SET(CITYGML_FOUND TRUE)
IF(NOT CITYGML_LIBRARY_DEBUG)
MESSAGE("-- Warning Debug LibCityGML not found, using: ${CITYGML_LIBRARY}")
SET(CITYGML_LIBRARY_DEBUG "${CITYGML_LIBRARY}" CACHE FILEPATH "Path to a library." FORCE)
ENDIF(NOT CITYGML_LIBRARY_DEBUG)
ENDIF(CITYGML_LIBRARY AND CITYGML_INCLUDE_DIR)
SET(CITYGML_LIBRARIES optimized ${CITYGML_LIBRARY} debug
${CITYGML_LIBRARY_DEBUG})
Kind regards,
Jan
Original issue reported on code.google.com by jan.kli...@gmail.com on 3 Aug 2011 at 2:16
Original issue reported on code.google.com by
jan.kli...@gmail.com
on 3 Aug 2011 at 2:16