summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-05-28 20:46:50 +0800
committerKunoiSayami <[email protected]>2022-05-28 20:46:50 +0800
commit6a37727e6b1f9c94dac8ce8c53392bbe1c67674a (patch)
tree7cbfaf0c43ed169d15660258fbcd84149e11a78c /CMakeLists.txt
parent12a9246ace908d8b9e3020c7137922eb1391ef22 (diff)
refactor: Remove useless statements
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4b7297..faf0f29 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,9 +8,11 @@ set(CMAKE_CUDA_STANDARD 14)
add_executable(lockfree main.cu)
#add_definitions(-DNUM_ITEMS=1048576 -DKEYS=1048576 -DFACTOR=1)
-target_compile_options(lockfree PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
- -v
- >)
+if (false)
+ target_compile_options(lockfree PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
+ -v
+ >)
+endif ()
# from: Peter
target_link_libraries(lockfree m)