Commit 4b846404 authored by Ben Boeckel's avatar Ben Boeckel

cmake: remove unused variables

parent 761ffdf3
...@@ -374,22 +374,6 @@ if(NOT XDMF_BUILD_CORE_ONLY) ...@@ -374,22 +374,6 @@ if(NOT XDMF_BUILD_CORE_ONLY)
add_subdirectory(utils) add_subdirectory(utils)
endif() endif()
if(WIN32)
set(XDMF_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/${XDMF_LIBNAME}.lib)
endif()
if(UNIX)
if (BUILD_SHARED_LIBS)
set(XDMF_LIBRARY ${CMAKE_INSTALL_LIBDIR}/lib${XDMF_LIBNAME}.so)
else (BUILD_SHARED_LIBS)
set(XDMF_LIBRARY ${CMAKE_INSTALL_LIBDIR}/lib${XDMF_LIBNAME}.a)
endif (BUILD_SHARED_LIBS)
endif(UNIX)
if(APPLE)
set(XDMF_LIBRARY ${CMAKE_INSTALL_LIBDIR}/lib${XDMF_LIBNAME}.dylib)
endif()
file(GLOB XdmfHeaders file(GLOB XdmfHeaders
"*.hpp" "*.hpp"
"*.tpp" "*.tpp"
......
...@@ -209,25 +209,6 @@ if(XDMF_WRAP_PYTHON) ...@@ -209,25 +209,6 @@ if(XDMF_WRAP_PYTHON)
XDMF_SWIG_PYTHON(XdmfCore) XDMF_SWIG_PYTHON(XdmfCore)
endif() endif()
if(WIN32)
set(XDMFCORE_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/XdmfCore.lib PARENT_SCOPE)
endif()
if(UNIX)
if (BUILD_SHARED_LIBS)
set(XDMFCORE_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfCore.so
PARENT_SCOPE)
else()
set(XDMFCORE_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfCore.a
PARENT_SCOPE)
endif()
endif()
if(APPLE)
set(XDMFCORE_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfCore.dylib
PARENT_SCOPE)
endif()
file(GLOB_RECURSE file(GLOB_RECURSE
XdmfCoreHeaders XdmfCoreHeaders
"*.hpp" "*.tpp" "*.i" "*.hpp" "*.tpp" "*.i"
......
...@@ -107,25 +107,6 @@ if(XDMF_WRAP_PYTHON) ...@@ -107,25 +107,6 @@ if(XDMF_WRAP_PYTHON)
endif() endif()
if(WIN32)
set(XDMFDSM_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/XdmfDSM.lib PARENT_SCOPE)
endif()
if(UNIX)
if (BUILD_SHARED_LIBS)
set(XDMFDSM_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfDSM.so
PARENT_SCOPE)
else (BUILD_SHARED_LIBS)
set(XDMFDSM_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfDSM.a
PARENT_SCOPE)
endif (BUILD_SHARED_LIBS)
endif()
if(APPLE)
set(XDMFDSM_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/libXdmfDSM.dylib
PARENT_SCOPE)
endif()
file(GLOB_RECURSE file(GLOB_RECURSE
XdmfDSMHeaders XdmfDSMHeaders
"*.hpp" "*.tpp" "*.i" "*.hpp" "*.tpp" "*.i"
......
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