]> git.cworth.org Git - vogl/commitdiff
chroot name cleanup
authorMichael Sartain <mikesart@valvesoftware.com>
Thu, 13 Mar 2014 23:45:57 +0000 (16:45 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Apr 2014 18:42:28 +0000 (11:42 -0700)
src/build_options.cmake

index b29e79ef0ec6fb43fb2ebc4a69a9e5b44781bbb1..396a1c9702d12b217bb37a68836a3f3191a94b4d 100644 (file)
@@ -30,7 +30,7 @@ option(USE_TELEMETRY "Build with Telemetry" OFF)
 
 if( NOT BUILD_X64 )
   # If we're in our 64-bit chroot, default to 64-bit, else 32-bit
-  if( "$ENV{SCHROOT_CHROOT_NAME}" STREQUAL "vogl_precise_amd64" )
+  if( "$ENV{SCHROOT_CHROOT_NAME}" MATCHES "(.*)amd64(.*)" )
     set(BUILD_X64 "TRUE")
   else()
     set(BUILD_X64 "FALSE")