Merge pull request #226 from compnerd/patch-1

Update CMakeLists.txt to link math library on Linux.
This commit is contained in:
Stephen Canon authored and GitHub committed 2022-04-07 17:25:38 -04:00
commit 98a8a166df
1 file changed
+2
+2
View File
@@ -10,5 +10,7 @@ See https://swift.org/LICENSE.txt for license information
add_library(_NumericsShims INTERFACE)
target_include_directories(_NumericsShims INTERFACE
include)
target_link_libraries(_NumericsShims INTERFACE
$<$<PLATFORM_ID:Linux>:m>)
set_property(GLOBAL APPEND PROPERTY SWIFT_NUMERICS_EXPORTS _NumericsShims)