[Confusion] about ${PROJECT_NAME}_BUILD_SHARED_LIBS #26
Labels
acknowledged
The issue is being worked on
bug
Something isn't working
fixed
Bug has been fixed and the fix tested
question
Further information is requested
Describe the confusion
I am confused about the below cmake snippets in
StandardSettings.cmake
:As cmake tool will build all the libraries as shared library when
BUILD_SHARED_LIBS
is ON, my understnading is that we should overwrite the cmake built-in cache variable ofBUILD_SHARED_LIBS
when${PROJECT_NAME}_BUILD_SHARED_LIBS
is ON. Something looks like this:Let me know what you think it.
Expected behavior
Overwrite the cmake built-in cache variable of
BUILD_SHARED_LIBS
when${PROJECT_NAME}_BUILD_SHARED_LIBS
is ONDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: