how to adding static library to cmakelists project
Unsolved
General and Desktop
-
hello guys
i am new to cmake, i used to use qmake, in my qmake i have the following for adding a static library that is inside a folder called bin, inside the project folder
macx: LIBS += -L$$PWD/bin/lib/ -lnanomsg INCLUDEPATH += $$PWD/bin/include DEPENDPATH += $$PWD/bin/include macx: PRE_TARGETDEPS += $$PWD/bin/lib/libnanomsg.a
what is the corressponding cmake syntax?
-
See cmake docu: target_link_libraries