diff --git a/scripts/ZoneMinder/CMakeLists.txt b/scripts/ZoneMinder/CMakeLists.txt index fec830ab9..4e25f81a6 100644 --- a/scripts/ZoneMinder/CMakeLists.txt +++ b/scripts/ZoneMinder/CMakeLists.txt @@ -18,8 +18,5 @@ add_custom_target(zmperlmodules ALL perl Makefile.PL FIRST_MAKEFILE=MakefilePerl # Add install target for the perl modules install(DIRECTORY output/ DESTINATION "${CMAKE_INSTALL_PREFIX}") - - - - - +# Add additional commands to make clean +set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "output;blib;pm_to_blib;MakefilePerl")