File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,9 +150,9 @@ endif(MINGW)
150150add_library(zlibstat STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
151151if (MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
152152 if (CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64")
153- set_target_properties(${ZLIB_LIB_TARGET} PROPERTIES STATIC_LIBRARY_FLAGS "/machine:ARM64")
153+ set_target_properties(zlibstat PROPERTIES STATIC_LIBRARY_FLAGS "/machine:ARM64")
154154 else()
155- set_target_properties(${ZLIB_LIB_TARGET} PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64")
155+ set_target_properties(zlibstat PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64")
156156 endif()
157157endif()
158158set_target_properties(zlibstat PROPERTIES
Original file line number Diff line number Diff line change @@ -148,9 +148,9 @@ add_library (${LZF_LIB_TARGET} STATIC ${LZF_SRCS} ${LZF_HDRS} ${LZF_PUBLIC_HEADE
148148
149149if (MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
150150 if (CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64" )
151- set_target_properties (${ZLIB_LIB_TARGET } PROPERTIES STATIC_LIBRARY_FLAGS "/machine:ARM64" )
151+ set_target_properties (${LZF_LIB_TARGET } PROPERTIES STATIC_LIBRARY_FLAGS "/machine:ARM64" )
152152 else ()
153- set_target_properties (${ZLIB_LIB_TARGET } PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64" )
153+ set_target_properties (${LZF_LIB_TARGET } PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64" )
154154 endif ()
155155endif ()
156156TARGET_C_PROPERTIES (${LZF_LIB_TARGET} STATIC )
You can’t perform that action at this time.
0 commit comments