Revision: 77864
          http://sourceforge.net/p/brlcad/code/77864
Author:   starseeker
Date:     2020-12-02 02:58:21 +0000 (Wed, 02 Dec 2020)
Log Message:
-----------
Just go ahead and set this - ignored on platforms other than Apple according to 
CMake docs.

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2020-12-02 02:55:29 UTC (rev 77863)
+++ brlcad/trunk/CMakeLists.txt 2020-12-02 02:58:21 UTC (rev 77864)
@@ -933,11 +933,10 @@
   endif(CMAKE_CL_64)
 endif(MSVC)
 
-if (APPLE)
-  if (${CMAKE_WORD_SIZE} MATCHES "32BIT")
-    set(CMAKE_OSX_ARCHITECTURES "i386" CACHE STRING "Building for i386" FORCE)
-  endif (${CMAKE_WORD_SIZE} MATCHES "32BIT")
-endif (APPLE)
+# If a platform specific variable needs to be set for 32 bit, do it here
+if (${CMAKE_WORD_SIZE} MATCHES "32BIT")
+  set(CMAKE_OSX_ARCHITECTURES "i386" CACHE STRING "Building for i386" FORCE)
+endif (${CMAKE_WORD_SIZE} MATCHES "32BIT")
 
 CONFIG_H_APPEND(BRLCAD "#define SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P}\n")
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to