[Cmake-commits] [cmake-commits] bigler committed FindCUDA.cmake 1.7 1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Oct 6 22:52:54 EDT 2009
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv24621
Modified Files:
FindCUDA.cmake
Log Message:
Fix Xcode build.
Move the make_directory command to the main target, so that CMAKE_CFG_INTDIR
will get expanded by the build tool.
Index: FindCUDA.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindCUDA.cmake,v
retrieving revision 1.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** FindCUDA.cmake 5 Oct 2009 21:14:33 -0000 1.7
--- FindCUDA.cmake 7 Oct 2009 02:52:52 -0000 1.8
***************
*** 1028,1031 ****
--- 1028,1033 ----
DEPENDS ${CUDA_NVCC_DEPEND}
DEPENDS ${custom_target_script}
+ # Make sure the output directory exists before trying to write to it.
+ COMMAND ${CMAKE_COMMAND} -E make_directory "${generated_file_path}"
COMMAND ${CMAKE_COMMAND} ARGS
-D verbose:BOOL=${verbose_output}
More information about the Cmake-commits
mailing list