: Applies to both the current target and its consumers. Strict Directory Structures
find_package(fmt CONFIG REQUIRED) target_link_libraries(my_app PRIVATE fmt::fmt) Use code with caution. Performance and Build Optimization cmake best practices pdf download
– Official reference guide
Decouple your test infrastructure from production code targets. Use the native CTest engine for clean execution. : Applies to both the current target and its consumers