Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building projects using Static libs and FindBump.cmake on Windows #18

Open
jholub15 opened this issue Oct 15, 2013 · 0 comments
Open

Building projects using Static libs and FindBump.cmake on Windows #18

jholub15 opened this issue Oct 15, 2013 · 0 comments
Labels

Comments

@jholub15
Copy link
Contributor

So Stacy is working on building one of our projects in Windows that is currently using bump. We ran into an issue that might need to be changed in the FindBump.cmake file. She is trying to build a CMakeList file for our project that uses the FindBump.cmake.

The issue showed up as a linker errors where the compiler was looking for _declspec(dllimport)...blah... symbols. Export.h changes the symbols based on the type of library, and it was wasn't getting set as static and instead jumped to the default. The Bump_LIBRARY_STATIC flag was not getting set anywhere.

The question comes into whether that functionality should be included in FindBump.cmake? Boost has a SET(Boost_USE_STATIC_LIBS ON) method that you are required to set in your CMakeList file to take care of using static libs. Would this be the preferred method of handling this or should the identification of the library type be done by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant