g++ - Issue with link library when compiling with cmake -
i can compile cpp file g++ using command:
g++ test.cpp -lmpfr -lgmp
how add these libraries cmakelists.txt compile cmake?
it recommend go through cmake tutorial, "adding library (step 2)" , target_link_libraries documentation.
Comments
Post a Comment