Add external library Cmake Windows
Unsolved
General and Desktop
-
How do I add the FFTW3 library or any other library to my QT 5.15.2 CMake project? Assume that the library files are in the same directory (main.cpp and fftw-3/ folder in the same directory).
Please help me, I'm about to lose my mind. I can't manage to add it. (for windows) -
What did you try?
https://cmake.org/cmake/help/latest/command/target_link_libraries.htmlDo you also have the *.lib files for these libs there? You can't link *.dll files, for linking you need *.lib.
-
I looked these but, I could not understand anything. I need some example
@jsulm said in Add external library Cmake Windows:
Do you also have the *.lib files for these libs there? You can't link *.dll files, for linking you need *.lib.
Yes I have all files