yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10576
[Branch ~yade-pkg/yade/git-trunk] Rev 3837: Add informational message, if VTK6 is found.
------------------------------------------------------------
revno: 3837
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Thu 2014-03-13 14:09:40 +0100
message:
Add informational message, if VTK6 is found.
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 2014-02-18 12:02:35 +0000
+++ CMakeLists.txt 2014-03-13 13:09:40 +0000
@@ -403,6 +403,7 @@
IF(${VTK_MAJOR_VERSION} EQUAL 6)
TARGET_LINK_LIBRARIES(yade ${VTK_LIBRARIES})
ADD_DEFINITIONS("-DYADE_VTK6")
+ MESSAGE(STATUS "VTK version 6 is found")
ELSE(${VTK_MAJOR_VERSION} EQUAL 6)
TARGET_LINK_LIBRARIES(yade vtkHybrid)
ENDIF(${VTK_MAJOR_VERSION} EQUAL 6)