We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c9792 commit a8d7ec9Copy full SHA for a8d7ec9
libclc/cmake/modules/AddLibclc.cmake
@@ -138,6 +138,10 @@ endfunction()
138
function(create_compile_targets compile_tgts)
139
cmake_parse_arguments( ARG "" "ARCH_SUFFIX" "FILES" ${ARGN} )
140
141
+ if( NOT ARG_ARCH_SUFFIX OR NOT ARG_FILES )
142
+ message( FATAL_ERROR "Must provide ARCH_SUFFIX, and FILES" )
143
+ endif()
144
+
145
set( tgts )
146
foreach( file IN LISTS ARG_FILES )
147
cmake_path( GET file STEM stem )
0 commit comments