Skip to content

Commit 47f393f

Browse files
authored
Correct copy/paste mistakes from PR #218. (#220)
1 parent b9906bf commit 47f393f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

BLOSC/config/zlib-CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ endif(MINGW)
150150
add_library(zlibstat STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
151151
if (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()
157157
endif()
158158
set_target_properties(zlibstat PROPERTIES

LZF/config/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ add_library (${LZF_LIB_TARGET} STATIC ${LZF_SRCS} ${LZF_HDRS} ${LZF_PUBLIC_HEADE
148148

149149
if (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()
155155
endif()
156156
TARGET_C_PROPERTIES (${LZF_LIB_TARGET} STATIC)

0 commit comments

Comments
 (0)