Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: add manual BUILD_TESTING option #163

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

rouault
Copy link
Member

@rouault rouault commented Oct 25, 2024

1f8573b removed include(CTest) but that module was useful to define the BUILD_TESTING option. Manually define it

1f8573b removed include(CTest) but that
module was useful to define the BUILD_TESTING option. Manually define it
@rouault rouault merged commit 2657b18 into OSGeo:master Oct 25, 2024
12 checks passed
@thbeu
Copy link
Contributor

thbeu commented Oct 25, 2024

Hm, not sure actually since set by:

if(BASH_EXECUTABLE)
  set(BUILD_TESTING ON CACHE BOOL "")
else()
  message(STATUS "WARNING: bash not available so disabling testing")
endif()

@rouault
Copy link
Member Author

rouault commented Oct 25, 2024

good point. I missed we manually defined it. Further fix in #164

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