libftdi Archives

Subject: [PATCH 04/10] cmake: fix elseif statement

From: Shawn Hoffman <business@xxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Shawn Hoffman <godisgovernment@xxxxxxxxx>
Date: Wed, 10 Apr 2024 07:15:43 -0700
From: Shawn Hoffman <godisgovernment@xxxxxxxxx>

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67ddb4d..5afda1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -84,7 +84,7 @@ endif()
 if(NOT APPLE)
   if(CMAKE_SIZEOF_VOID_P EQUAL 4)
     SET(PACK_ARCH "")
-  else(CMAKE_SIZEOF_VOID_P EQUAL 8)
+  elseif(CMAKE_SIZEOF_VOID_P EQUAL 8)
     SET(PACK_ARCH .x86_64)
   endif(CMAKE_SIZEOF_VOID_P EQUAL 4)
 else(NOT APPLE)
-- 
2.44.0.windows.1


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread