[STATS] Add libm.so to lib dependencies for stats library
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 17 Dec 2015 16:15:39 +0000 (16:15 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 17 Dec 2015 16:15:39 +0000 (16:15 +0000)
llvm-svn: 255900

openmp/runtime/cmake/LibompMicroTests.cmake

index 89ca83d8689c0628c12ceb6580dc7db43fc2bff0..825d231b8f805d3a0820938f2371fdbae0b666cd 100644 (file)
@@ -211,6 +211,7 @@ else()
     libomp_append(libomp_expected_library_deps libhwloc.so.5 LIBOMP_USE_HWLOC)
   endif()
   libomp_append(libomp_expected_library_deps libstdc++.so.6 LIBOMP_USE_STDCPPLIB)
+  libomp_append(libomp_expected_library_deps libm.so.6 LIBOMP_STATS)
 endif()
 # Perl script expects comma separated list
 string(REPLACE ";" "," libomp_expected_library_deps "${libomp_expected_library_deps}")