the quick and dirty, 5 years later: #pwd ~./ggmud-0.9.4/build #sed -i.bak 's/-lgthread-2\.0/-lgthread-2\.0 -lm -ldl/' \ CMakeFiles/ggmud.dir/link.txt had the same problem, the sed command (if you run it from the build dir it outta fix your build,) manually adds -lm and -ldl to the 1 line linker definition built by cmake and stored in the ./build/CMakeFiles/ggmud.dir/link.txt file where it is read by the make script... for some reason vi was breaking the long line in links.txt apart into 20 lines,...
the quick and dirty, 3 years later: #pwd ~./ggmud-0.9.4/build #sed -i.bak 's/-lgthread-2\.0/-lgthread-2\.0 -lm -ldl/' \ CMakeFiles/ggmud.dir/link.txt had the same problem, the sed command (if you run it from the build dir it outta fix your build,) manually adds -lm and -ldl to the 1 line linker definition built by cmake and stored in the ./build/CMakeFiles/ggmud.dir/link.txt file where it is read by the make script... for some reason vi was breaking the long line in links.txt apart into 20 lines,...
the quick and dirty, 3 years later: #pwd ~./ggmud-0.9.4/build #sed -i.bak 's/-lgthread-2\.0/-lgthread-2\.0 -lm -ldl/' \ CMakeFiles/ggmud.dir/link.txt had the same problem, the sed command (if you run it from the build dir it outta fix your build,) manually adds -lm and -ldl to the 1 line linker definition built by cmake and stored in the ./build/CMakeFiles/ggmud.dir/link.txt file where it is read by the make script... for some reason vi was breaking the line apart and i didnt care to explore why...