summaryrefslogtreecommitdiff
path: root/dev-util/roctracer/files/roctracer-5.7.1-with-tests.patch
blob: eb728b8f723758f0523a1d062395e90e0986e12a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,7 +56,7 @@ endif()
 add_subdirectory(src)
 
 ## Build tests
-if(${LIBRARY_TYPE} STREQUAL SHARED)
+if(WITH_TESTS)
   add_subdirectory(test)
 endif()