Source
Veteran OT User
I tried adding a library I have stored in the directory libs using a temporary hack since I don't know CMake:
If the name or directory is wrong it complains so it seems to be working... except I still get this error at the end:
Anyone has any ideas?
Code:
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -L ../libs -lmylib")
If the name or directory is wrong it complains so it seems to be working... except I still get this error at the end:
Code:
... undefined reference to `my_function'
Anyone has any ideas?