Ver Fonte

Reinstate comment on RedHat-based system that needs LIB_SUFFIX.

Yao Wei Tjong 姚伟忠 há 12 anos atrás
pai
commit
300efe0f7d
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Source/CMakeLists.txt

+ 2 - 0
Source/CMakeLists.txt

@@ -83,10 +83,12 @@ else ()
     set (DEST_RUNTIME_DIR share/Urho3D)
     if (ENABLE_64BIT)
         if (NOT CMAKE_CROSSCOMPILING AND EXISTS /usr/lib64)    # TODO: Revisit this again when ARM also supports 64bit, for now ARM architecture ignores ENABLE_64BIT build option
+            # Probably target system is a RedHat-based distro
             set (LIB_SUFFIX 64)
         endif ()
     endif ()
     if (IOS)
+        # Use 'ios' arch subdirectory to differentiate, in case both Mac OS X and iOS build are installed at the same destination
         set (LIB_SUFFIX ${LIB_SUFFIX}/ios)
     endif ()
     set (DEST_LIBRARY_DIR lib${LIB_SUFFIX}/Urho3D)