Commits

Jean-Philippe Grimaldi committed a28493c

Fix some typos in SLG kernel string creation.

Jeanphi

Comments (0)

Files changed (1)

samples/smallluxgpu/CMakeLists.txt

 		)
 	ELSE(WIN32)
 		add_custom_command(
-			OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu/kernels/pathgpu2_${kernel_lowercase}.cpp
-			COMMAND echo \"\#include \\"pathgpu2/kernels/kernels.h\\"\" > ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu/kernels/pathgpu2_${kernel_lowercase}.cpp
-			COMMAND echo "std::string luxrays::KernelSource_PathGPU2_${kernel} = " >> ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu/kernels/pathgpu2_${kernel_lowercase}.cpp
-			COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu/kernels/pathgpu2_${kernel_lowercase}.cl | awk '{ printf \(\"\\"%s\\\\n\\"\\n\", $$0\) }' >> ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu/kernels/pathgpu2_${kernel_lowercase}.cpp
-			COMMAND echo "\;" >> ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu/kernels/pathgpu2_${kernel_lowercase}.cpp
+			OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu2/kernels/pathgpu2_${kernel_lowercase}.cpp
+			COMMAND echo \"\#include \\"pathgpu2/kernels/kernels.h\\"\" > ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu2/kernels/pathgpu2_${kernel_lowercase}.cpp
+			COMMAND echo "std::string luxrays::KernelSource_PathGPU2_${kernel} = " >> ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu2/kernels/pathgpu2_${kernel_lowercase}.cpp
+			COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu2/kernels/pathgpu2_${kernel_lowercase}.cl | awk '{ printf \(\"\\"%s\\\\n\\"\\n\", $$0\) }' >> ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu2/kernels/pathgpu2_${kernel_lowercase}.cpp
+			COMMAND echo "\;" >> ${CMAKE_CURRENT_SOURCE_DIR}/pathgpu2/kernels/pathgpu2_${kernel_lowercase}.cpp
 			MAIN_DEPENDENCY pathgpu2/kernels/pathgpu2_${kernel_lowercase}.cl
 		)
 	ENDIF(WIN32)