cmake command for "additional dependencies"

Hello all.

When I use cmake with VS 2019 there is no project properties menu to set the additional dependencies. I think I should do it using cmake commands in cmakelists.txt file.

I used:

target_link_libraries(CMakeProject6 "C:/Projects/Armadillo/armadillo-9.800.1/examples/lib_win64") Does this command look correct to you?

I think it is not working. Commenting out has no effect. I am getting the error when building:
LNK2019 unresolved external symbol dgetrf referenced in function "void __cdecl arma::lapack::getrf<double>(int *,int *,double *,int *,int *,int *)" (??$getrf@N@lapack@arma@@YAXPEAH0PEAN000@Z)

What I tried:
lib and dll's from http://icl.cs.utk.edu/lapack-for-windows/lapack/
lib and dll's from OpenBlas



------------
target_include_directories command is working. I tested by commenting out.
Topic archived. No new replies allowed.