Skip to content

Commit 0ed3137

Browse files
authored
Merge pull request tinyobjloader#220 from kvnnap/msvc-shared-library-exports-bug
Fix for issue syoyo/tinyobjloader#217
2 parents c0575ad + 67bfb0f commit 0ed3137

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ add_library(${LIBRARY_NAME} ${tinyobjloader-Source})
5252
if(BUILD_SHARED_LIBS)
5353
set_target_properties(${LIBRARY_NAME} PROPERTIES
5454
SOVERSION ${TINYOBJLOADER_SOVERSION}
55+
WINDOWS_EXPORT_ALL_SYMBOLS ON
5556
)
5657
endif()
5758

0 commit comments

Comments
 (0)