Skip to content

Conversation

@von500
Copy link

@von500 von500 commented May 24, 2020

when i build project on windows,i find some errors and fixed!

@Waarbubble
Copy link

I would suggest that instead of compiling each library as STATIC that you set BUILD_SHARED_LIBRARY=OFF as the default for windows ie. change line 17 in CMakeLists.txt to:
if(WIN32)
option(BUILD_SHARED_LIBS "Build shared libraries." OFF)
else()
option(BUILD_SHARED_LIBS "Build shared libraries." ON)
endif()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants