[BACK]Return to patch-CMakeLists_txt CVS log [TXT][DIR] Up to [local] / ports / graphics / osg / patches

File: [local] / ports / graphics / osg / patches / Attic / patch-CMakeLists_txt (download)

Revision 1.2, Tue Mar 2 10:15:24 2010 UTC (14 years, 4 months ago) by yason
Branch: MAIN
Changes since 1.1: +13 -5 lines

fix patches

$OpenBSD$
--- CMakeLists.txt.orig	Fri Feb 12 14:45:00 2010
+++ CMakeLists.txt	Mon Mar  1 18:16:44 2010
@@ -152,7 +152,6 @@ IF(UNIX)
     FIND_PACKAGE(X11)
     # Some Unicies need explicit linkage to the Math library or the build fails.
     FIND_LIBRARY(MATH_LIBRARY m)
-    FIND_LIBRARY(DL_LIBRARY dl)
     IF( CMAKE_SYSTEM MATCHES "Linux" )
         FIND_LIBRARY( RT_LIBRARY rt )
     ENDIF( CMAKE_SYSTEM MATCHES "Linux" )
@@ -522,7 +521,7 @@ ENDIF()
 
 IF(UNIX AND NOT WIN32 AND NOT APPLE)
   IF(CMAKE_SIZEOF_VOID_P MATCHES "8")
-      SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")
+      SET(LIB_POSTFIX "" CACHE STRING "suffix for 32/64 dir placement")
       MARK_AS_ADVANCED(LIB_POSTFIX)
   ENDIF()
 ENDIF()