Lines 1-11
Link Here
|
1 |
--- CMakeLists.txt.orig 2012-09-22 12:55:02.000000000 +0400 |
1 |
--- CMakeLists.txt.orig 2012-09-02 19:00:41.000000000 +0200 |
2 |
+++ CMakeLists.txt 2012-09-22 12:55:27.000000000 +0400 |
2 |
+++ CMakeLists.txt 2013-05-18 21:41:36.907149619 +0200 |
3 |
@@ -83,7 +83,7 @@ endif(LIBRT) |
3 |
@@ -69,6 +69,7 @@ |
|
|
4 |
|
5 |
include_directories(.) |
6 |
include_directories(include) |
7 |
+include_directories(/usr/local/include) |
8 |
include_directories(src) |
9 |
link_libraries(${CMAKE_THREAD_LIBS_INIT}) |
10 |
find_library(LIBDL dl) |
11 |
@@ -83,7 +84,7 @@ |
4 |
add_subdirectory(samples) |
12 |
add_subdirectory(samples) |
5 |
add_subdirectory(src) |
13 |
add_subdirectory(src) |
6 |
|
14 |
|
7 |
-install(FILES icd/freeocl.icd DESTINATION /etc/OpenCL/vendors/) |
15 |
-install(FILES icd/freeocl.icd DESTINATION /etc/OpenCL/vendors/) |
8 |
+install(FILES icd/freeocl.icd DESTINATION %%PREFIX%%/etc/OpenCL/vendors/) |
16 |
+install(FILES icd/freeocl.icd DESTINATION etc/OpenCL/vendors/) |
9 |
# OpenCL headers shouldn't be needed in the runtime package |
17 |
# OpenCL headers shouldn't be needed in the runtime package |
10 |
# install(DIRECTORY include/CL/ DESTINATION include/CL/ FILES_MATCHING PATTERN "*.h") |
18 |
# install(DIRECTORY include/CL/ DESTINATION include/CL/ FILES_MATCHING PATTERN "*.h") |
11 |
install(DIRECTORY include/FreeOCL/ DESTINATION include/FreeOCL/ FILES_MATCHING PATTERN "*.h") |
19 |
install(DIRECTORY include/FreeOCL/ DESTINATION include/FreeOCL/ FILES_MATCHING PATTERN "*.h") |