Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0756800

Browse files
author
arun bharadwaj
committed
Alway build static library
1 parent c14c90d commit 0756800

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ project (ZXingCpp VERSION ${ZXING_VERSION_MAJOR}.${ZXING_VERSION_MINOR}.${ZXING_
88

99
set (ENABLE_ENCODERS ON CACHE BOOL "Check to include encoders")
1010
set (ENABLE_DECODERS ON CACHE BOOL "Check to include decoders")
11-
IF (NOT WIN32)
12-
set (BUILD_SHARED_LIBRARY ON CACHE BOOL "Check to build ZXingCore as shared library")
13-
ELSE ()
1411
set (BUILD_SHARED_LIBRARY OFF CACHE BOOL "Check to build ZXingCore as shared library")
15-
ENDIF ()
1612

1713
if (MSVC)
1814
set (LINK_CPP_STATICALLY OFF CACHE BOOL "MSVC only, check to link statically standard library (/MT and /MTd)")

0 commit comments

Comments
 (0)