diff options
author | jijoong.moon <jijoong.moon@samsung.com> | 2018-03-22 16:06:47 +0900 |
---|---|---|
committer | Sangjung woo <sangjung.woo@samsung.com> | 2018-04-18 11:31:58 +0900 |
commit | f40a94b4da18da0a39189ef168dd47893a27af19 (patch) | |
tree | 23ab130d2fe3abd39fd577ffadc31f9a0f201324 /Modules | |
parent | d2da1d795e53547eea754244b6c9f85c539a1c73 (diff) | |
download | cmake-f40a94b4da18da0a39189ef168dd47893a27af19.tar.gz cmake-f40a94b4da18da0a39189ef168dd47893a27af19.tar.bz2 cmake-f40a94b4da18da0a39189ef168dd47893a27af19.zip |
Quoting of compile definitions breaks string value definitionstizen_5.5.m2_releasesubmit/tizen_base/20180423.100001submit/tizen_5.5_base_wearable_hotfix/20201023.155601submit/tizen_5.5_base_mobile_hotfix/20201023.171501submit/tizen_5.5_base/20191030.000001submit/tizen_5.0_base/20181101.000001accepted/tizen/base/20180427.142230accepted/tizen/5.5/base/wearable/hotfix/20201023.081914accepted/tizen/5.5/base/mobile/hotfix/20201023.085751accepted/tizen/5.5/base/20191030.084207accepted/tizen/5.0/base/20181101.091150tizen_5.5_tvtizen_5.5_base_wearable_hotfixtizen_5.5_base_mobile_hotfixtizen_5.5_basetizen_5.0_baseaccepted/tizen_5.5_base_wearable_hotfixaccepted/tizen_5.5_base_mobile_hotfixaccepted/tizen_5.5_baseaccepted/tizen_5.0_base
FindCUDA:Improve quoting of CUDA_NVCC_COMPILE_DEFINITIONS
Improve FindCUDA in order to resolve
nvcc fatal : Stray '"' character error
FYI :
https://gitlab.kitware.com/cmake/cmake/commit/c1f4f13dbfa7caf6bbf4d8b70a7f09f786c7eed6
Change-Id: I2c970dfe122d8578ed008cd3ab75062761a7aa49
Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
Signed-off-by: Sangjung woo <sangjung.woo@samsung.com>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCUDA/run_nvcc.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCUDA/run_nvcc.cmake b/Modules/FindCUDA/run_nvcc.cmake index 28cc1e99e..25f2f72a2 100644 --- a/Modules/FindCUDA/run_nvcc.cmake +++ b/Modules/FindCUDA/run_nvcc.cmake @@ -74,7 +74,7 @@ set(CUDA_NVCC_FLAGS @CUDA_NVCC_FLAGS@ ;; @CUDA_WRAP_OPTION_NVCC_FLAGS@) # list @CUDA_NVCC_FLAGS_CONFIG@ set(nvcc_flags @nvcc_flags@) # list set(CUDA_NVCC_INCLUDE_DIRS "@CUDA_NVCC_INCLUDE_DIRS@") # list (needs to be in quotes to handle spaces properly). -set(CUDA_NVCC_COMPILE_DEFINITIONS "@CUDA_NVCC_COMPILE_DEFINITIONS@") # list (needs to be in quotes to handle spaces properly). +set(CUDA_NVCC_COMPILE_DEFINITIONS [==[@CUDA_NVCC_COMPILE_DEFINITIONS@]==]) # list (needs to be in quotes to handle spaces properly). set(format_flag "@format_flag@") # string set(cuda_language_flag @cuda_language_flag@) # list |