A couple of changes to the cmake build system.

First:  Added a DESTDIR option for package building.
Second:  Change the OpenCL setup.  On both linux and windows use CLRun.  I completely removed the option here.  If CLRun works on MacOSX this should be done there as well, and this change implemented in the scons build also.  Then we could remove the HAVE_OPENCL and the new USE_CLRUN definitions.  Then we will finally have the dynamic detection of opencl set up cross platform.
On a side note, it doesn't seem that the program loaded from TextureDecoder.cl compiles or runs.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6366 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice committed 2010-11-10 01:59:53 +00:00
1 parent 7dd7bd2b03
commit 7b34def0fc
8 files changed
+23 -26

No files matched your search

+3
View File
@@ -4,3 +4,6 @@ set(SRCS clrun/clrun.c
clrun/genclgl.c)
add_library(clrun STATIC ${SRCS})
if(UNIX)
add_definitions(-fPIC)
endif(UNIX)