Permalink
Browse files

Add conditional for WIN32 to export the symbols

for correct linkage
  • Loading branch information...
1 parent 90bce5c commit f31121f6229c3999c3d5cb40b30e5aee678f2768 @nyue nyue committed Mar 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/ptex/CMakeLists.txt
@@ -1,3 +1,7 @@
+if (WIN32)
+ add_definitions ( /DPTEX_EXPORTS )
+endif (WIN32)
+
set(SRCS
PtexCache.cpp
PtexFilters.cpp

0 comments on commit f31121f

Please sign in to comment.