Skip to content

Conversation

@Shylie
Copy link

@Shylie Shylie commented May 8, 2023

Edited the CMake files to better support a static build. I haven't tested on Linux nor MacOS.

  • Fixed the output extension on windows (would build as a .dll when BUILD_SHARED_LIBS was off)
  • Fixed the samples not compiling when BUILD_SHARED_LIBS is OFF due to BEARLIB_TERMINAL_STATIC_BUILD not defined, thus causing linker errors
  • Made the dependency libraries also copy to the output folder for use when statically compiling.

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.

1 participant