Closed mshabunin closed 1 year ago
Operating System: Alpine Linux Version / Commit SHA: 10.0.1 Other: GCC
FindOpenVDB.cmake provided by this package modifies BUILD_SHARED_LIBS cmake variable thus breaking user's build.
BUILD_SHARED_LIBS
Steps to reproduce the behavior:
BUILD_SHARED_LIBS=OFF
Result: dynamic libraries (.so) produced as a result
Static libraries (.a) are produced as a result of the build
add_library
find_package
Environment
Operating System: Alpine Linux Version / Commit SHA: 10.0.1 Other: GCC
Describe the bug
FindOpenVDB.cmake provided by this package modifies
BUILD_SHARED_LIBS
cmake variable thus breaking user's build.To Reproduce
Steps to reproduce the behavior:
BUILD_SHARED_LIBS=OFF
optionResult: dynamic libraries (.so) produced as a result
Expected behavior
Static libraries (.a) are produced as a result of the build
Additional context
add_library
behavior) and should not be affected byfind_package
calls