ApprovalTests.cpp icon indicating copy to clipboard operation
ApprovalTests.cpp copied to clipboard

Add support for CMake's find_package()

Open claremacrae opened this issue 6 years ago • 2 comments

This was mentioned in #75 - and will provide another nice way of making ApprovalTests available to users...

claremacrae avatar Jan 02 '20 15:01 claremacrae

This from 2016 may be useful https://foonathan.net/2016/03/cmake-install/

claremacrae avatar Jan 20 '20 14:01 claremacrae

Hello. I'm just a beginner, but as I am learning CMake I came across this page which recommends favoring cmake config files instead of find_package:

If you are the library author, don't make a Find.cmake script! These were designed for libraries whose authors did not support CMake. Use a Config.cmake instead as listed below.

I hope this is helpful

1fabrism avatar Feb 16 '22 09:02 1fabrism