Skip to content

Commit

Permalink
Updated Cmakelist for the new libraries. Refs #15593
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Oct 25, 2024
1 parent 4849e91 commit 6d15523
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ if (SUMO_LIBRARIES AND WIN32)
# Special option for MinGW32
message(STATUS "Using 64 bit libraries from SUMO_LIBRARIES placed in " ${SUMO_LIBRARIES})
file(GLOB XERCES_PATH "${SUMO_LIBRARIES}/xerces-c-3.?.?")
file(GLOB ZLIB_PATH "${SUMO_LIBRARIES}/3rdPartyLibs/zlib-?.?.??")
file(GLOB ZLIB_PATH "${SUMO_LIBRARIES}/3rdPartyLibs/zlib-?.?.?")
file(GLOB PROJ_PATH "${SUMO_LIBRARIES}/proj-?.?.?")
file(GLOB FOX_PATH "${SUMO_LIBRARIES}/fox-?.?.??")
file(GLOB FREETYPE_PATH "${SUMO_LIBRARIES}/3rdPartyLibs/freetype-2.??.?")
Expand All @@ -392,8 +392,9 @@ if (SUMO_LIBRARIES AND WIN32)
"${PROJ_PATH}/bin/*.dll"
"${FOX_PATH}/bin/*.dll"
"${ZLIB_PATH}/bin/*.dll"
# "${FREETYPE_PATH}/bin/*.dll"
"${FREETYPE_PATH}/bin/*.dll"
"${GETTEXT_PATH}/bin/*.dll"
"${SUMO_LIBRARIES}/libspatialite-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/bzip2-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/geos-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/curl-*/bin/*.dll"
Expand All @@ -404,14 +405,20 @@ if (SUMO_LIBRARIES AND WIN32)
"${SUMO_LIBRARIES}/3rdPartyLibs/tiff-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/libxml2-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/libiconv-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/openssl-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/sqlite-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/freexl-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/libexpat-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/librttopo-*/bin/*.dll"
"${SUMO_LIBRARIES}/3rdPartyLibs/minizip-*/bin/*.dll"
)
# check if MSVC dll runtimes have to be copied
if (INSTALL_DLL_RUNTIMES)
file(GLOB MSVC_DLLS "${SUMO_LIBRARIES}/runtimes/*.dll")
list(APPEND SUMO_LIBRARIES_DLL ${MSVC_DLLS})
endif(INSTALL_DLL_RUNTIMES)
# set fmt dir depending of msvc toolset version
file(GLOB fmt_PATH "${SUMO_LIBRARIES}/3rdPartyLibs/fmt-??.?.?/v${MSVC_TOOLSET_VERSION}")
file(GLOB fmt_PATH "${SUMO_LIBRARIES}/3rdPartyLibs/fmt-??.?.?")
# declare flag for use google test
set(USE_GOOGLETEST true)
# check if use google test
Expand Down

0 comments on commit 6d15523

Please sign in to comment.