Skip to content

Commit

Permalink
Simplify finding libraries
Browse files Browse the repository at this point in the history
Don't make dependent libraries required for MSVC that aren't actually required


git-svn-id: https://crosswire.org/svn/sword/trunk@3773 bcd7d363-81e1-0310-97ec-a550e20fc99c
  • Loading branch information
greg.hellings committed Jul 28, 2020
1 parent e6a580f commit dfcb4e4
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions CMakeLists.txt
Expand Up @@ -47,18 +47,11 @@ ENDIF(MSVC)
#
MESSAGE(STATUS "\n-- SEARCHING FOR SYTEM PACKAGES")
# Find our packages
IF(MSVC)
FIND_PACKAGE(BZIP2 REQUIRED)
FIND_PACKAGE(XZ REQUIRED)
FIND_PACKAGE(ICU REQUIRED)
FIND_PACKAGE(CURL REQUIRED)
ELSE(MSVC)
FIND_PACKAGE(BZIP2 QUIET)
FIND_PACKAGE(XZ QUIET)
FIND_PACKAGE(ICU
COMPONENTS data i18n io uc)
FIND_PACKAGE(CURL QUIET)
ENDIF(MSVC)
FIND_PACKAGE(BZIP2 QUIET)
FIND_PACKAGE(XZ QUIET)
FIND_PACKAGE(ICU
COMPONENTS data i18n io uc)
FIND_PACKAGE(CURL QUIET)
FIND_PACKAGE(CLucene QUIET)
FIND_PACKAGE(ZLIB QUIET)
FIND_PACKAGE(PkgConfig QUIET)
Expand Down

0 comments on commit dfcb4e4

Please sign in to comment.