Browse Source

Fix cache datatype typo when caching the URHO3D_LIB_TYPE.
Credit to hsnabn. Close #1513.

Yao Wei Tjong 姚伟忠 9 years ago
parent
commit
de3c2dc2b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMake/Modules/FindUrho3D.cmake

+ 1 - 1
CMake/Modules/FindUrho3D.cmake

@@ -286,7 +286,7 @@ else ()
                     endif ()
                 endif ()
                 set (URHO3D_64BIT ${ABI_64BIT} CACHE BOOL "Enable 64-bit build, the value is auto-discovered based on the found Urho3D library" FORCE) # Force it as it is more authoritative than user-specified option
-                set (URHO3D_LIB_TYPE ${URHO3D_LIB_TYPE} CACHE BOOL "Urho3D library type, the value is auto-discovered based on the found Urho3D library" FORCE) # Use the Force, Luke
+                set (URHO3D_LIB_TYPE ${URHO3D_LIB_TYPE} CACHE STRING "Urho3D library type, the value is auto-discovered based on the found Urho3D library" FORCE) # Use the Force, Luke
                 foreach (VAR ${AUTO_DISCOVER_VARS})
                     if (TRY_RUN_OUT MATCHES "#define ${VAR}")
                         set (AUTO_DISCOVERED_${VAR} 1)