I have the following in my CMakeLists.txt file:
FIND_LIBRARY(
APPLE_LIBC
NAMES c
)
message("${APPLE_LIBC}")
FIND_LIBRARY(
APPLE_STDC++
NAMES stdc++
)
message("${APPLE_STDC++}")
When this runs I get the following:
/usr/lib/libc.so
APPLE_STDC++-NOTFOUND
and when I do a ls in /usr/lib I see:
[EMAIL PROTECTED] ESPlanner Executables-cmake]$ ls /usr/lib/libstd*
/usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.6.0.8
So why isn't cmake finding libstdc++ but IS finding libc.so (unless
cmake can't deal with the versioning).
And how do I get this to work consistently. Do I need to manually create
a symbolic link of the form:
/usr/lib/libstdc++.so
???
Best,
Dick Munroe
--
Dick Munroe (E) mailto:[EMAIL PROTECTED]
Cottage Software Works, Inc. (O) 617 901 9052
PMB 361 (F) 617 489 0328
464 Common St. (W) http://www.csworks.com/
Belmont, Ma. 02478
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake