mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 05:16:10 +01:00
024cfb3542
INTERFACE should be used on dependencies from other than our source files. PRIVATE should be used the include happens in our source files. In this case (src/catch2/internal/catch_debug_console.cpp:20) the include is from our source file. I encountered a issue with this when building Catch2 for Android in combination with BUILD_SHARED_LIBS. Changing the visibility to PRIVATE fixes the issue. |
||
---|---|---|
.. | ||
catch2 | ||
CMakeLists.txt |