Revision: 44827
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44827&view=rev
Author:   kunigami
Date:     2011-06-08 20:51:38 +0000 (Wed, 08 Jun 2011)

Log Message:
-----------
Just realized that I did not added OSL finder for cmake

Added Paths:
-----------
    brlcad/trunk/misc/CMake/FindOSL.cmake

Added: brlcad/trunk/misc/CMake/FindOSL.cmake
===================================================================
--- brlcad/trunk/misc/CMake/FindOSL.cmake                               (rev 0)
+++ brlcad/trunk/misc/CMake/FindOSL.cmake       2011-06-08 20:51:38 UTC (rev 
44827)
@@ -0,0 +1,40 @@
+# ================================================
+# Find OSL Dependences
+# ================================================
+include(util_macros)
+include(boost)
+include(FindOpenEXR)
+include(FindTBB)
+include(FindOIIO)
+
+# ================================================
+# Find OSL
+# ================================================
+
+# Find OSL library and its dependencies
+FIND_LIBRARY(OSLEXEC_LIBRARY 
+       NAMES liboslexec.dylib
+       PATHS /Users/kunigami/dev/osl/dist/macosx/lib)
+FIND_LIBRARY(OSLCOMP_LIBRARY 
+       NAMES liboslcomp.dylib
+       PATHS /Users/kunigami/dev/osl/dist/macosx/lib)
+FIND_LIBRARY(OSLQUERY_LIBRARY 
+       NAMES liboslquery.dylib
+       PATHS /Users/kunigami/dev/osl/dist/macosx/lib)
+
+FIND_PATH (OSL_INCLUDES
+       NAMES oslexec.h
+       PATHS /Users/kunigami/dev/osl/dist/macosx/include/OSL)
+
+# == Dependences ==
+
+
+if (OSL_LIBRARY AND OSL_INCLUDES)
+   message("Found OSL")
+   message("OSL LIBRARY = ${OSL_LIBRARY}")
+   message("OSL INCLUDES = ${OSL_INCLUDES}")
+endif()
+
+
+
+


Property changes on: brlcad/trunk/misc/CMake/FindOSL.cmake
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to