]> git.cworth.org Git - vogl/blobdiff - src/build_options.cmake
chroot name cleanup
[vogl] / 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")