Skip to content
Snippets Groups Projects
Commit fb686867 authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2: Committed by Johannes Junggeburth
Browse files

IMPORTED?

parent 76f0e2f8
No related branches found
No related tags found
1 merge request!408Draft: Update to Xerecx 3.3
Pipeline #10142963 failed
......@@ -39,7 +39,7 @@ if(GEOMODEL_USE_BUILTIN_XERCESC)
INSTALL_COMMAND make install
COMMAND ${CMAKE_COMMAND} -E remove -f "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/XercesCInstall/lib/${CMAKE_SHARED_LIBRARY_PREFIX}xerces-c.la"
COMMAND ${CMAKE_COMMAND} -E remove_directory "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/XercesCInstall/lib/pkgconfig"
BUILD_BYPRODUCTS "${XercesC_INCLUDE_DIR}" )
BUILD_BYPRODUCTS "${XercesC_INCLUDE_DIR}" "${XercesC_LIBRARY}" )
install(DIRECTORY
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/XercesCInstall/bin"
......@@ -53,7 +53,7 @@ if(GEOMODEL_USE_BUILTIN_XERCESC)
USE_SOURCE_PERMISSIONS )
# Set up local XercesC "imported" target.
add_library(XercesC::XercesC UNKNOWN IMPORTED)
add_library(XercesC::XercesC SHARED IMPORTED)
set_target_properties( XercesC::XercesC PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${XercesC_INCLUDE_DIR}"
IMPORTED_LOCATION "${XercesC_LIBRARY}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment