Commit 20bd7a42 authored by Brian Panneton's avatar Brian Panneton

ENH: Corrected library issues for Macs

parent c179c4d7
......@@ -243,10 +243,16 @@ if(NOT XDMF_BUILD_CORE_ONLY)
if(WIN32)
set(XDMF_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/Xdmf.lib)
else(WIN32)
set(XDMF_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmf.so)
endif(WIN32)
if(UNIX)
set(XDMF_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmf.so)
endif(UNIX)
if(APPLE)
set(XDMF_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmf.dylib)
endif(APPLE)
file(GLOB XdmfHeaders
"*.hpp"
"*.tpp"
......
......@@ -125,10 +125,17 @@ endif(XDMF_WRAP_PYTHON)
if(WIN32)
set(XDMFCORE_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/XdmfCore.lib PARENT_SCOPE)
else(WIN32)
endif(WIN32)
if(UNIX)
set(XDMFCORE_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfCore.so
PARENT_SCOPE)
endif(WIN32)
endif(UNIX)
if(APPLE)
set(XDMFCORE_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfCore.dylib
PARENT_SCOPE)
endif(APPLE)
file(GLOB_RECURSE
XdmfCoreHeaders
......
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