[CMake] CMAKE_DL_LIBS
Aaron Boxer
boxerab at gmail.com
Tue Mar 1 09:06:10 EST 2016
Hello!
I have a CMAKE project that creates an executable that links with a static
lib
from a second CMAKE project. The static lib requires the dlopen and dlclose
symbols.
So, when I link the first project, I add ${CMAKE_DL_LIBS} to the CMake file.
However, I still get an error about "undefined reference to symbol
"dlclose...."
I am using CMake 3.2.2.
Any ideas ?
Thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160301/059e3977/attachment.html>
More information about the CMake
mailing list