"wrappers/python/vscode:/vscode.git/clone" did not exist on "ca28c38a7eef89ee6538480e7bfed7004cea8eb5"
Commit 7f486d6b authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed compilation error under Windows

parent f7c92bbd
...@@ -6,8 +6,8 @@ FOREACH(file ${OPENCL_KERNELS}) ...@@ -6,8 +6,8 @@ FOREACH(file ${OPENCL_KERNELS})
# Load the file contents and process it. # Load the file contents and process it.
FILE(STRINGS ${file} file_content NEWLINE_CONSUME) FILE(STRINGS ${file} file_content NEWLINE_CONSUME)
STRING(REPLACE \\\n \\\\\n file_content "${file_content}") STRING(REPLACE \\\n \\\\\n file_content "${file_content}")
STRING(REPLACE \n \\n file_content "${file_content}")
STRING(REPLACE \" \\\" file_content "${file_content}") STRING(REPLACE \" \\\" file_content "${file_content}")
STRING(REPLACE \n \\n\"\n\" file_content "${file_content}")
# Determine a name for the variable that will contain this file's contents # Determine a name for the variable that will contain this file's contents
FILE(RELATIVE_PATH filename ${CL_SOURCE_DIR}/kernels ${file}) FILE(RELATIVE_PATH filename ${CL_SOURCE_DIR}/kernels ${file})
......
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