summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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)