diff options
author | Brad King <brad.king@kitware.com> | 2017-02-14 20:25:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-14 20:25:23 (GMT) |
commit | 272c348d5a1c3f713586e05e0d73fd18441f7bb2 (patch) | |
tree | c4767b69ccb52a91f9c6eea56cb2384e2c150a84 /Modules | |
parent | 81ebf4be3eeabe7f1fc42929b3cc46e515fd4800 (diff) | |
parent | 59ed323d4648a61d911679190273c35f950e20ce (diff) | |
download | CMake-272c348d5a1c3f713586e05e0d73fd18441f7bb2.zip CMake-272c348d5a1c3f713586e05e0d73fd18441f7bb2.tar.gz CMake-272c348d5a1c3f713586e05e0d73fd18441f7bb2.tar.bz2 |
Merge branch 'cuda-no-Os' into release
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/NVIDIA-CUDA.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/NVIDIA-CUDA.cmake b/Modules/Compiler/NVIDIA-CUDA.cmake index ae35132..7903313 100644 --- a/Modules/Compiler/NVIDIA-CUDA.cmake +++ b/Modules/Compiler/NVIDIA-CUDA.cmake @@ -13,7 +13,7 @@ set(CMAKE_INCLUDE_SYSTEM_FLAG_CUDA -isystem=) string(APPEND CMAKE_CUDA_FLAGS_INIT " ") string(APPEND CMAKE_CUDA_FLAGS_DEBUG_INIT " -g") -string(APPEND CMAKE_CUDA_FLAGS_MINSIZEREL_INIT " -Os -DNDEBUG") +string(APPEND CMAKE_CUDA_FLAGS_MINSIZEREL_INIT " -O1 -DNDEBUG") string(APPEND CMAKE_CUDA_FLAGS_RELEASE_INIT " -O3 -DNDEBUG") string(APPEND CMAKE_CUDA_FLAGS_RELWITHDEBINFO_INIT " -O2 -g -DNDEBUG") |