Registry Mirror
Skip to content

Conversation

@robertmaynard

Copy link
Copy Markdown
Contributor

No description provided.

Robert Maynard added 2 commits December 2, 2015 11:51
Certain version of MOAB will create a variable called BUILD_SHARED_LIBS that
will hide the cache version inside SMTK. This mean that if you are building
smtk shared and with a static moab, you will actually build smtk statically.

The fix is to remove the local version of the variable after importing
the moab config file.
@vibraphone

Copy link
Copy Markdown
Member

Should we be naming the option SMTK_BUILD_SHARED_LIBS instead of BUILD_SHARED_LIBS and setting BUILD_SHARED_LIBS as a non-cache variable? What is the CMake-endorsed method?

Other than that, +1.

@robertmaynard

Copy link
Copy Markdown
Contributor Author

The most common behavior is to use BUILD_SHARED_LIBS directly.

robertmaynard pushed a commit that referenced this pull request Dec 3, 2015
@robertmaynard
robertmaynard merged commit a546a64 into Kitware:master Dec 3, 2015
@robertmaynard
robertmaynard deleted the defend_against_moab branch December 10, 2015 13:49
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