Commit cb615fed authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Windows

parent 0b4a1077
...@@ -530,4 +530,11 @@ IF(BUILD_TESTING) ...@@ -530,4 +530,11 @@ IF(BUILD_TESTING)
ENDIF(BUILD_TESTING) ENDIF(BUILD_TESTING)
ADD_SUBDIRECTORY(examples) ADD_SUBDIRECTORY(examples)
get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
foreach(dir ${dirs})
message(STATUS "dir='${dir}'")
endforeach()
ENDIF(NOT cmv EQUAL "2.4") # This whole file... ENDIF(NOT cmv EQUAL "2.4") # This whole file...
...@@ -33,6 +33,7 @@ find_path(OPENCL_INCLUDE_DIR ...@@ -33,6 +33,7 @@ find_path(OPENCL_INCLUDE_DIR
"/usr/local/cuda" "/usr/local/cuda"
"/usr/local/streamsdk" "/usr/local/streamsdk"
"/usr" "/usr"
"C:/Program Files (x86)/AMD APP SDK/3.0-0-Beta"
"${CUDA_TOOLKIT_ROOT_DIR}" "${CUDA_TOOLKIT_ROOT_DIR}"
PATH_SUFFIXES "include" PATH_SUFFIXES "include"
) )
......
...@@ -54,9 +54,12 @@ ...@@ -54,9 +54,12 @@
#include <sys/timeb.h> #include <sys/timeb.h>
#include <process.h> #include <process.h>
#ifndef ETIMEDOUT
#define ETIMEDOUT 110 #define ETIMEDOUT 110
#endif
#ifndef ENOTSUP
#define ENOTSUP 134 #define ENOTSUP 134
#endif
#define PTHREAD_CANCEL_DISABLE 0 #define PTHREAD_CANCEL_DISABLE 0
#define PTHREAD_CANCEL_ENABLE 0x01 #define PTHREAD_CANCEL_ENABLE 0x01
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment