Commit 7bccc3d3 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

cmake: fix DEFINE_SYMBOL on windows

The `XDMF_EXPORTS` symbol was not getting defined correctly since it was
being set on the wrong target. This was causing windows builds to
failed. Fixed that.
parent f08ceb01
......@@ -353,7 +353,8 @@ if(NOT XDMF_BUILD_CORE_ONLY)
if(WIN32)
if (BUILD_SHARED_LIBS)
set_target_properties(${XDMF_LIBNAME} PROPERTIES
# XXX(kitware) using correct target name
set_target_properties(xdmf3 PROPERTIES
DEFINE_SYMBOL XDMF_EXPORTS)
endif ()
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