diff --git a/CMakeLists.txt b/CMakeLists.txt index affaf5cc72fd..892ce0e12dcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -557,9 +557,9 @@ if (CHECK_OPTIONAL_LIBS) find_package(GEOS) if (GEOS_FOUND) include_directories(SYSTEM ${GEOS_INCLUDE_DIR}) - set(JPS_VERSION "${jupedsim_VERSION_MINOR}0${jupedsim_VERSION_PATCH}") + set(JPS_VERSION "${jupedsim_VERSION_MAJOR}${jupedsim_VERSION_MINOR}${jupedsim_VERSION_PATCH}") set(ENABLED_FEATURES "${ENABLED_FEATURES} JuPedSim") - message(STATUS "Found JuPedSim: ${jupedsim_DIR} ${jupedsim_VERSION}") + message(STATUS "Found JuPedSim: ${jupedsim_DIR} ${jupedsim_VERSION} ${JPS_VERSION}") else (GEOS_FOUND) message(STATUS "Could NOT find GEOS! JuPedSim requires GEOS.") endif (GEOS_FOUND)