summaryrefslogtreecommitdiff
path: root/media-plugins/calf/files/calf-0.90.7-no-remove-ttl.patch
blob: 97a70abc5d92b42f11d1ca2dd9510a3e67c50603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -171,12 +171,6 @@ if(USE_LV2)
         endif()
     endif()
 
-    # Remove previous .ttl files
-    file(GLOB ttl_files "${LV2DIR_PROJ}/*.ttl")
-    foreach(ttl_file ${ttl_files})
-        file(REMOVE "${ttl_file}")
-    endforeach()
-
     # Install new .ttl files
     install(CODE "execute_process(COMMAND \"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}makerdf\" -m ttl -p \"\$ENV{DESTDIR}${LV2DIR_PROJ}\" -d \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/\")")