diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f6b916f1e..a752dd0c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,7 +151,9 @@ INCLUDE(CheckCCompilerFlag) INCLUDE(CMakeParseArguments) FIND_PACKAGE(PkgConfig REQUIRED) -FIND_PACKAGE(Perl REQUIRED) +IF (ENABLE_SNOWBALL MATCHES "ON") + FIND_PACKAGE(Perl REQUIRED) +ENDIF() ############################# MACRO SECTION ############################################# |