Commit d5621bdb authored by Cédric Traizet's avatar Cédric Traizet
Browse files

COMP: fix Expat library name on Windows (libexpat.lib is the default name)

parent 6d3755fb
Pipeline #7407 failed with stages
in 84 minutes and 18 seconds
...@@ -43,7 +43,7 @@ ExternalProject_Add(EXPAT ...@@ -43,7 +43,7 @@ ExternalProject_Add(EXPAT
set(_SB_EXPAT_INCLUDE_DIR ${SB_INSTALL_PREFIX}/include) set(_SB_EXPAT_INCLUDE_DIR ${SB_INSTALL_PREFIX}/include)
if(WIN32) if(WIN32)
set(_SB_EXPAT_LIBRARY ${SB_INSTALL_PREFIX}/lib/expat.lib) set(_SB_EXPAT_LIBRARY ${SB_INSTALL_PREFIX}/lib/libexpat.lib)
elseif(UNIX) elseif(UNIX)
set(_SB_EXPAT_LIBRARY ${SB_INSTALL_PREFIX}/lib/libexpat${CMAKE_SHARED_LIBRARY_SUFFIX}) set(_SB_EXPAT_LIBRARY ${SB_INSTALL_PREFIX}/lib/libexpat${CMAKE_SHARED_LIBRARY_SUFFIX})
endif() endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment