Commit 9e37b696 authored by David Thompson's avatar David Thompson
Browse files

COMP: Add flag so symbols are exported when building library instead

      of imported (Win).
parent b62320d7
......@@ -251,6 +251,9 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/ncconfig.h.in
ADD_LIBRARY(vtkNetCDF
${netcdf_SRCS})
# Take care of symbol export/import on Windows
ADD_DEFINITIONS("-DNC_DLL_EXPORT")
# Apply user-defined properties to the library target.
IF(VTK_LIBRARY_PROPERTIES)
SET_TARGET_PROPERTIES(vtkNetCDF PROPERTIES ${VTK_LIBRARY_PROPERTIES})
......
Supports Markdown
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