diff options
Diffstat (limited to 'compute_kernel_writer/prototype/CMakeLists.txt')
-rw-r--r-- | compute_kernel_writer/prototype/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compute_kernel_writer/prototype/CMakeLists.txt b/compute_kernel_writer/prototype/CMakeLists.txt index 13d1ae8fc4..439dcd3b7e 100644 --- a/compute_kernel_writer/prototype/CMakeLists.txt +++ b/compute_kernel_writer/prototype/CMakeLists.txt @@ -42,7 +42,7 @@ target_compile_options(ckw_prototype ${CKW_CXX_FLAGS} "$<$<CXX_COMPILER_ID:GNU>:${GNU_WARNINGS}>" "$<$<CONFIG:Debug>:${CKW_ASSERTS_OPTS}>" - "$<$<BOOL:${CKW_ASSERTS}>:${CKW_ASSERTS_OPTS}>" + "$<$<BOOL:${CKW_ENABLE_ASSERTS}>:${CKW_ASSERTS_OPTS}>" ${CMAKE_CXX_FLAGS} PRIVATE $<$<CONFIG:Release>:-Os> @@ -51,7 +51,7 @@ target_compile_options(ckw_prototype target_compile_definitions(ckw_prototype PUBLIC $<$<CONFIG:Debug>:COMPUTE_KERNEL_WRITER_DEBUG_ENABLED> $<$<CONFIG:Debug>:COMPUTE_KERNEL_WRITER_ASSERTS_ENABLED> - $<$<BOOL:${CKW_ASSERTS}>:COMPUTE_KERNEL_WRITER_ASSERTS_ENABLED> + $<$<BOOL:${CKW_ENABLE_ASSERTS}>:COMPUTE_KERNEL_WRITER_ASSERTS_ENABLED> $<$<BOOL:${CKW_ENABLE_OPENCL}>:COMPUTE_KERNEL_WRITER_OPENCL_ENABLED> ) |