← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3780: Fix cappitalization typo in Lapack (case-sensitive in this case).

 

------------------------------------------------------------
revno: 3780
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Sat 2016-01-23 12:27:55 +0100
message:
  Fix cappitalization typo in Lapack (case-sensitive in this case).
  
  Declare lapack and openblas mandatory, if PotentialParticles
  requested.
modified:
  CMakeLists.txt


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2016-01-19 00:59:38 +0000
+++ CMakeLists.txt	2016-01-23 11:27:55 +0000
@@ -393,9 +393,8 @@
 
 #===========================================================
 IF(ENABLE_POTENTIAL_PARTICLES)
-  FIND_PACKAGE(OpenBlas)
-  INCLUDE(FindLAPACK)
-  FIND_PACKAGE(Lapack)
+  FIND_PACKAGE(OpenBlas REQUIRED)
+  FIND_PACKAGE(LAPACK REQUIRED)
   IF(OPENBLAS_FOUND AND LAPACK_FOUND)
     ADD_DEFINITIONS("-DYADE_POTENTIAL_PARTICLES")
     SET(LINKLIBS  "${LINKLIBS};${OPENBLAS_LIBRARY};${LAPACK_LIBRARY}")