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

COMP: set Expat install library directory with a CMake variable instead of patching it

parent d5621bdb
Pipeline #7409 passed with stages
in 108 minutes and 35 seconds
......@@ -34,6 +34,7 @@ ExternalProject_Add(EXPAT
-DBUILD_examples:BOOL=OFF
-DBUILD_tests:BOOL=OFF
-DBUILD_tools:BOOL=OFF
-DCMAKE_INSTALL_LIBDIR:STRING=lib
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
......@@ -41,9 +42,4 @@ ExternalProject_Add(EXPAT
LOG_INSTALL 1
)
set(_SB_EXPAT_INCLUDE_DIR ${SB_INSTALL_PREFIX}/include)
if(WIN32)
set(_SB_EXPAT_LIBRARY ${SB_INSTALL_PREFIX}/lib/libexpat.lib)
elseif(UNIX)
set(_SB_EXPAT_LIBRARY ${SB_INSTALL_PREFIX}/lib/libexpat${CMAKE_SHARED_LIBRARY_SUFFIX})
endif()
SUPERBUILD_UPDATE_CMAKE_VARIABLES(EXPAT FALSE)
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