Some workaround for runtime library linkage
- Dominant language
- C++
- Stars
- 21.5k
- Forks
- 3.5k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 2
Description
**Description**
I installed the catch2 3.0 with CMake. Surely it has to be built before, in particular using some build type. On Windows (at least), it links against release or debug version of runtime library, depending on the selected build type. The problem is currently you can have only one instance of catch2 installed: either Release or Debug. If application's runtime library version doesn't match the catch2 one's - the build fails. I mean, to switch build type of your application you have also to reinstall catch2.
My temporary solution is to install both versions of catch2, rename them to `Catch2_release` and `Catch2_debug` and manually set `Catch2_DIR` variables to these folders, but I don't think it's correct enough.
**Additional context**
-
Contributor guide
Assessment
This issue has not been assessed yet.