[arrayfire] 22/79: Removed the need to Find glfw/glew from build_forge script

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Jun 15 13:38:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository arrayfire.

commit 2306181a34a5298310741c674292ed1ae60848ac
Author: pradeep <pradeep at arrayfire.com>
Date:   Thu Jun 4 18:04:42 2015 -0400

    Removed the need to Find glfw/glew from build_forge script
    
    ArrayFire just needs to make sure the following variables are
    set to build with glew and glfw.
    * GLFW_DIR
    * GLEW_ROOT_DIR
---
 CMakeModules/build_forge.cmake | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeModules/build_forge.cmake b/CMakeModules/build_forge.cmake
index 555caa2..bab77cf 100644
--- a/CMakeModules/build_forge.cmake
+++ b/CMakeModules/build_forge.cmake
@@ -16,7 +16,7 @@ ENDIF()
 ExternalProject_Add(
     forge-ext
     GIT_REPOSITORY https://github.com/arrayfire/forge.git
-    GIT_TAG 22eb2aeafc4547564e7d90234320cd65f2f859fb
+    GIT_TAG f9c27b1787ed1551b3aedb12749d4068606a97f9
     PREFIX "${prefix}"
     INSTALL_DIR "${prefix}"
     UPDATE_COMMAND ""
@@ -25,6 +25,9 @@ ExternalProject_Add(
     -DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}
     -DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}
     -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
+    -DUSE_GLEWmx_STATIC:STRING=${USE_GLEWmx_STATIC}
+    -DGLEW_ROOT_DIR:STRING=${GLEW_ROOT_DIR}
+    -DGLFW_ROOT_DIR:STRING=${GLFW_ROOT_DIR}
     -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
     -DBUILD_EXAMPLES:BOOL=OFF
     ${byproducts}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list