diff options
author | Kalle Raiskila <kraiskil@ovi.com> | 2013-03-22 14:11:10 +0200 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-04-23 19:09:42 -0400 |
commit | 79b04d6ec25ea38e65ce4cce21482e60509574f4 (patch) | |
tree | a48f203290ea3bd2f460c3af7900dc472b3ad7d6 /pocl | |
parent | 7efe580eb4e125cd122790bcfb29acd683d7f2ac (diff) | |
download | vecmathlib-79b04d6ec25ea38e65ce4cce21482e60509574f4.zip vecmathlib-79b04d6ec25ea38e65ce4cce21482e60509574f4.tar.gz |
Make a out-of-tree build work.
Diffstat (limited to 'pocl')
-rw-r--r-- | pocl/CMakeLists.txt | 4 |
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") |