Skip to content

CMake: Configure testing#1

Open
Clemoot wants to merge 1 commit into
rhymu8354:mainfrom
Clemoot:main
Open

CMake: Configure testing#1
Clemoot wants to merge 1 commit into
rhymu8354:mainfrom
Clemoot:main

Conversation

@Clemoot
Copy link
Copy Markdown

@Clemoot Clemoot commented Dec 1, 2022

Why ?

The library is really nice, but there is no way to disable testing. Therefore, FetchContent adds an extra target when adding the library.

What have been done ?

Add a CMake option called BUILD_TESTING in order to disable testing if needed

@GEOEGII555
Copy link
Copy Markdown

For me, this actually breaks the build process, because I don't have the GTest library and it's trying to build the tests.
изображение

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