[sword-svn] r3773 - trunk
greg.hellings at crosswire.org
greg.hellings at crosswire.org
Tue Jul 28 09:57:41 EDT 2020
Author: greg.hellings
Date: 2020-07-28 09:57:41 -0400 (Tue, 28 Jul 2020)
New Revision: 3773
Modified:
trunk/CMakeLists.txt
Log:
Simplify finding libraries
Don't make dependent libraries required for MSVC that aren't actually required
Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt 2020-07-28 10:44:52 UTC (rev 3772)
+++ trunk/CMakeLists.txt 2020-07-28 13:57:41 UTC (rev 3773)
@@ -47,18 +47,11 @@
#
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)
More information about the sword-cvs
mailing list