Commit 42dda6e9 authored by David E. DeMarle's avatar David E. DeMarle

fix windows compilation

XdmfLibraries and XdmfDSMLinkLibraries are undefined and this we
get undefined symbol errors.
parent 8fc5f670
......@@ -401,20 +401,12 @@ if(NOT XDMF_BUILD_CORE_ONLY)
SOVERSION ${XDMF_MAJOR_VERSION}
)
if(XDMF_BUILD_DSM)
if (NOT WIN32)
target_link_libraries(${XDMF_LIBNAME} XdmfCore XdmfDSM)
else ()
target_link_libraries(${XDMF_LIBNAME} ${XdmfLibraries} ${XdmfDSMLinkLibraries})
endif ()
target_link_libraries(${XDMF_LIBNAME} XdmfCore XdmfDSM)
if(XDMF_STATIC_AND_SHARED AND BUILD_SHARED_LIBS)
target_link_libraries(Xdmf_Static XdmfCore_Static XdmfDSM_Static)
endif()
else(XDMF_BUILD_DSM)
if (NOT WIN32)
target_link_libraries(${XDMF_LIBNAME} XdmfCore)
else ()
target_link_libraries(${XDMF_LIBNAME} ${XdmfLibraries})
endif ()
target_link_libraries(${XDMF_LIBNAME} XdmfCore)
if(XDMF_STATIC_AND_SHARED AND BUILD_SHARED_LIBS)
target_link_libraries(Xdmf_Static XdmfCore_Static)
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