IVGCVSW-3656 Make the reference backend optional
[platform/upstream/armnn.git] / samples / CMakeLists.txt
index 5716054..c12842d 100644 (file)
@@ -1,4 +1,4 @@
-if(BUILD_SAMPLE_APP)
+if(BUILD_SAMPLE_APP AND ARMCOMPUTEREF)
     add_executable(SimpleSample SimpleSample.cpp)
     target_link_libraries(SimpleSample armnn ${CMAKE_THREAD_LIBS_INIT})
 endif()