[clblas] 92/125: s/CMAKE_SOURCE_DIR/PROJECT_SOURCE_DIR/ in library/CMakeLists.txt.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 06:57:25 UTC 2015


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

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

commit fe307b20ea96f44bc80631333010169b2e06c5b0
Author: Robert Scott Dionne <robertsdionne at gmail.com>
Date:   Mon Aug 18 23:15:38 2014 -0400

    s/CMAKE_SOURCE_DIR/PROJECT_SOURCE_DIR/ in library/CMakeLists.txt.
    
    Do so to allow another parent CMake project to be able to successfully
    call add_subdirectory(clBLAS) on this one.
---
 src/library/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt
index f06282e..8362281 100644
--- a/src/library/CMakeLists.txt
+++ b/src/library/CMakeLists.txt
@@ -279,7 +279,7 @@ endif()
 
 include( ExternalProject )
 ExternalProject_Add( tplgen
-    URL "${CMAKE_SOURCE_DIR}/library/tools/tplgen"
+    URL "${PROJECT_SOURCE_DIR}/library/tools/tplgen"
     INSTALL_COMMAND ""
 )
 
@@ -294,7 +294,7 @@ endif()
 
 add_custom_target( GENERATE_CLT
     COMMAND ${tplgenBinaryDir}/tplgen -o ${clBLAS_BINARY_DIR}/include ${SRC_CL_TEMPLATES}
-    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/library/blas/gens/clTemplates
+    WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/library/blas/gens/clTemplates
 )
 
 add_dependencies( GENERATE_CLT tplgen )

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



More information about the debian-science-commits mailing list