From: Ian S. <ian...@st...> - 2002-09-04 17:09:44
|
There is another possible hack that might work Try setting the value OPENGL_gl_LIBRARY to "/path/to/libmesgl.a pthread" > -----Original Message----- > From: Pet...@es... > [mailto:Pet...@es...] > Sent: Wednesday, September 04, 2002 5:59 PM > To: pe...@cs... > Cc: vxl...@li... > Subject: Re: [Vxl-users] CMake question > > > > One -- and perhaps the only -- solution with gcc is to > provide a compiler > > flag: > > g++ -pthread .... > > Well, I don't want to use threads all over. > It's just one (system) library which needs libpthread.so, > so I only want to specify to CMake that -lpthread must be added > whenever that library is linked. > > So actually I want to force a library dependency. Unfortunately > it seems that this cannot be done in CMakeCache.txt, since > the dependency > entries there get overwritten with information from the > CMakeLists.txt files. > > > Peter. > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users > |