Add a CMake option to not build the tests #1624
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I created a Conan package for yoga, but I have to patch out the line
add_subdirectory(tests)
inCMakeLists.txt
because I do not want to build the tests when creating the package. A CMake option would be nice, something likeoption(BUILD_TESTS "Build tests" ON)
.I am not allowed to contribute to yoga due to the Meta CLA, thus I closed the PR where I propose such a change.
What are build expectations of Conan? Yoga CMake structure is a bit messy, but if we don’t need bits which install Yoga headers to system, we could use https://github.com/facebook/yoga/blob/main/yoga/CMakeLists.txt directly.
At the moment building and packaging is done via
this we install the lib and the headers