So I have a library here /path/to/CMSIS/libarm_cortexM4lf_math.a
I can't seem to find it using find_library with Cmake. Further more I can't find a simple text file with find_file or find_path.
I've tried the following (and many iterations thereof):
find_library(CMSIS_LIB libarm_cortexM4lf_math.a PATHS /path/to/CMSIS)
So then I thought I'd do something more simple and saved a file to /home/user/happy.txt and tried to
find_path(TEST_FILE happy.txt /home/user)
In all cases my variables are NOTFOUND.
I've read the cmake documentation for find_library, most of find_path, and skimmed find_file. They all seem to work the same way and I can't get any of them to work.
What am I missing here?