Skip to content

Conversation

nlohmann
Copy link
Owner

If JSON_Install is set to OFF, the following tests fail:

 58 - cmake_import_configure (Failed)
 59 - cmake_import_build (Not Run)
 60 - cmake_import_minver_configure (Failed)
 61 - cmake_import_minver_build (Not Run)

This PR skips them instead if JSON_Install is OFF.

Closes #2946

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 54d9cd5 on issue2946 into f42a74b on develop.

@nlohmann nlohmann merged commit 5a04042 into develop Aug 18, 2021
@nlohmann nlohmann deleted the issue2946 branch August 18, 2021 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ctest (58+60,/67 cmake_import_configure) fails when build with -D JSON_Install:BOOL=OFF because of missing nlohmann_jsonTargets.cmake
2 participants