[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21071] branches/soc-2009-yukishiro: cmake mac build
Jingyuan Huang
jingyuan.huang at gmail.com
Mon Jun 22 06:10:59 CEST 2009
Revision: 21071
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21071
Author: yukishiro
Date: 2009-06-22 06:10:59 +0200 (Mon, 22 Jun 2009)
Log Message:
-----------
cmake mac build
Modified Paths:
--------------
branches/soc-2009-yukishiro/CMakeLists.txt
branches/soc-2009-yukishiro/config/darwin-config.py
Modified: branches/soc-2009-yukishiro/CMakeLists.txt
===================================================================
--- branches/soc-2009-yukishiro/CMakeLists.txt 2009-06-22 03:26:36 UTC (rev 21070)
+++ branches/soc-2009-yukishiro/CMakeLists.txt 2009-06-22 04:10:59 UTC (rev 21071)
@@ -178,7 +178,6 @@
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
ENDIF(WITH_OPENMP)
-
SET(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing -DXP_UNIX -Wno-char-subscripts")
SET(PLATFORM_LINKFLAGS "-pthread")
@@ -383,8 +382,12 @@
ENDIF(CMAKE_OSX_ARCHITECTURES MATCHES i386)
SET(OPENEXR_LIBPATH ${OPENEXR}/lib)
- SET(LLIBS stdc++ SystemStubs)
+ SET(LAPACK ${LIBDIR}/lapack)
+ SET(LAPACK_LIB lapack blas)
+ SET(LAPACK_LIBPATH ${LAPACK}/lib)
+ SET(LLIBS stdc++ lapack blas SystemStubs)
+
SET(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing")
SET(PLATFORM_LINKFLAGS "-fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Carbon -framework AGL -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuickTime")
Modified: branches/soc-2009-yukishiro/config/darwin-config.py
===================================================================
--- branches/soc-2009-yukishiro/config/darwin-config.py 2009-06-22 03:26:36 UTC (rev 21070)
+++ branches/soc-2009-yukishiro/config/darwin-config.py 2009-06-22 04:10:59 UTC (rev 21071)
@@ -194,7 +194,7 @@
# LAPACK
BF_LAPACK = LIBDIR + "/lapack"
-BF_LAPACK_LIB = 'lapack'
+BF_LAPACK_LIB = 'lapack blas'
BF_LAPACK_LIBPATH = '${BF_LAPACK}/lib'
More information about the Bf-blender-cvs
mailing list