I have a library called mylib.a in the path /home/test/libs/.
How can I add it to the project??
find_library(IDA_LIB NAMES "mylib.a" PATHS "/home/test/libs" NO_DEFAULT_PATH) Since it does not have the prefix lib cmake does not find it. If I change the library name to libmylib.a if finds it fine.
add_libraryin the title, but the problem is withfind_library().