summaryrefslogtreecommitdiffstats
path: root/pocl
diff options
context:
space:
mode:
authorKalle Raiskila <kraiskil@ovi.com>2013-03-22 14:11:10 +0200
committerErik Schnetter <schnetter@gmail.com>2013-04-23 19:09:42 -0400
commit79b04d6ec25ea38e65ce4cce21482e60509574f4 (patch)
treea48f203290ea3bd2f460c3af7900dc472b3ad7d6 /pocl
parent7efe580eb4e125cd122790bcfb29acd683d7f2ac (diff)
downloadvecmathlib-79b04d6ec25ea38e65ce4cce21482e60509574f4.zip
vecmathlib-79b04d6ec25ea38e65ce4cce21482e60509574f4.tar.gz
Make a out-of-tree build work.
Diffstat (limited to 'pocl')
-rw-r--r--pocl/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/pocl/CMakeLists.txt b/pocl/CMakeLists.txt
index 6691814..9c8d19c 100644
--- a/pocl/CMakeLists.txt
+++ b/pocl/CMakeLists.txt
@@ -12,9 +12,9 @@ set (SRCS
add_custom_command (
OUTPUT ${GENERATED_SRCS} kernel-vecmathlib.h
- COMMAND ./generate-files.py
+ COMMAND ${CMAKE_SOURCE_DIR}/pocl/generate-files.py
DEPENDS generate-files.py)
-
+include_directories(${CMAKE_SOURCE_DIR}/pocl)
add_library (kernel-vecmathlib ${SRCS})
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Dcl_khr_fp64 -Dcles_khr_int64")
OpenPOWER on IntegriCloud