IVGCVSW-4721 Make build of timelineDecoder.so depend only on BUILD_TIMELINE_DECODER
authorJim Flynn <jim.flynn@arm.com>
Thu, 23 Apr 2020 16:56:37 +0000 (17:56 +0100)
committerJim Flynn <jim.flynn@arm.com>
Thu, 23 Apr 2020 21:51:47 +0000 (22:51 +0100)
Change-Id: I49446f9fa8327a51bfc934dbb2d969a8e7367156
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
CMakeLists.txt

index 20e8717c82ee704617b4bbd9c036810655756848..f74478565b4e39f30759c0e86ee90d2058c70584 100644 (file)
@@ -1000,9 +1000,11 @@ if (BUILD_ARMNN_SERIALIZER AND (BUILD_TF_PARSER OR BUILD_TF_LITE_PARSER OR BUILD
     addDllCopyCommands(ArmnnConverter)
 endif()
 
-if(BUILD_GATORD_MOCK)
+if(BUILD_TIMELINE_DECODER)
     add_subdirectory(src/timelineDecoder)
+endif()
 
+if(BUILD_GATORD_MOCK)
     set(gatord_mock_sources)
     list(APPEND gatord_mock_sources
         tests/profiling/gatordmock/CommandFileParser.hpp