diff --git a/freshclam/CMakeLists.txt b/freshclam/CMakeLists.txt index ef3616fe32..2e77a87403 100644 --- a/freshclam/CMakeLists.txt +++ b/freshclam/CMakeLists.txt @@ -46,9 +46,6 @@ else() install(TARGETS freshclam-bin DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT programs) endif() -# Install an empty database directory -INSTALL(CODE "FILE(MAKE_DIRECTORY \${ENV}\${CMAKE_INSTALL_PREFIX}/\${DATABASE_DIRECTORY})" COMPONENT programs) - # Now we rename freshclam-bin executable to freshclam using target properties set_target_properties( freshclam-bin PROPERTIES OUTPUT_NAME freshclam )