Commit 82cb2f2a authored by Jon Haitz Legarreta's avatar Jon Haitz Legarreta

BUG: Fix BUILD_SHARED_LIBS overwritting identical name flags.

The BUILD_SHARED_LIBS option for Xdmf was overwritting any flags having
the same name being used by other toolkits using Xdmf. Since
BUILD_SHARED_LIBS is a built-in CMake variable, this patch set
prevents xdmf overwritting the BUILD_SHARED_LIBS flag value by simply
removing the option.
parent 5f6979af
......@@ -13,7 +13,7 @@ if(MSVC10)
endif()
set(XDMF_LIBNAME "Xdmf" CACHE STRING "Name for this xdmf library to avoid collision")
option(BUILD_SHARED_LIBS "Build Shared Libraries" OFF)
if(BUILD_SHARED_LIBS)
set(LIBTYPE SHARED)
set(BUILD_SHARED 1)
......
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