From: Michael Sartain Date: Thu, 13 Mar 2014 23:45:57 +0000 (-0700) Subject: chroot name cleanup X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=3abc8faa5fa77d8d7606cfe5c864f53ea9859a5d;p=vogl chroot name cleanup --- diff --git a/src/build_options.cmake b/src/build_options.cmake index b29e79e..396a1c9 100644 --- a/src/build_options.cmake +++ b/src/build_options.cmake @@ -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")