Revision: 6982
http://playerstage.svn.sourceforge.net/playerstage/?rev=6982&view=rev
Author: gbiggs
Date: 2008-08-25 23:02:58 +0000 (Mon, 25 Aug 2008)
Log Message:
-----------
Added dl link flag to libtool check
Modified Paths:
--------------
code/player/trunk/cmake/internal/SearchForStuff.cmake
Modified: code/player/trunk/cmake/internal/SearchForStuff.cmake
===================================================================
--- code/player/trunk/cmake/internal/SearchForStuff.cmake 2008-08-25
21:20:43 UTC (rev 6981)
+++ code/player/trunk/cmake/internal/SearchForStuff.cmake 2008-08-25
23:02:58 UTC (rev 6982)
@@ -41,7 +41,9 @@
IF (HAVE_DNS_SD)
CHECK_LIBRARY_EXISTS (dns_sd DNSServiceRefDeallocate
"${PLAYER_EXTRA_LIB_DIRS}" HAVE_DNS_SD)
ENDIF (HAVE_DNS_SD)
+SET (CMAKE_REQUIRED_LIBRARIES dl)
CHECK_LIBRARY_EXISTS (ltdl lt_dlopenext "${PLAYER_EXTRA_LIB_DIRS}"
HAVE_LIBLTDL)
+SET (CMAKE_REQUIRED_LIBRARIES)
SET (CMAKE_REQUIRED_INCLUDES math.h)
SET (CMAKE_REQUIRED_LIBRARIES m)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit