[OpenMP][Tool] Fix cmake variable in lit.site.cfg.in
authorprotze@itc.rwth-aachen.de <protze@itc.rwth-aachen.de>
Fri, 22 Nov 2019 13:29:19 +0000 (14:29 +0100)
committerprotze@itc.rwth-aachen.de <protze@itc.rwth-aachen.de>
Fri, 22 Nov 2019 13:31:54 +0000 (14:31 +0100)
As noted in D45890

openmp/tools/archer/tests/lit.site.cfg.in

index 03822f8..8ab8821 100644 (file)
@@ -10,7 +10,7 @@ config.libomp_obj_root = "@CMAKE_CURRENT_BINARY_DIR@"
 config.omp_library_dir = "@LIBOMP_LIBRARY_DIR@"
 config.omp_header_dir = "@LIBOMP_INCLUDE_DIR@"
 config.operating_system = "@CMAKE_SYSTEM_NAME@"
-config.has_libatomic = @LIBOMP_HAVE_LIBATOMIC@
+config.has_libatomic = "@LIBARCHER_HAVE_LIBATOMIC@"
 
 config.test_archer_flags = "@OPENMP_TEST_ARCHER_FLAGS@"
 config.libarcher_obj_root = "@CMAKE_CURRENT_BINARY_DIR@"