Skip to content

Commit

Permalink
fix dylib suffix for LIBPGMATH and FLANG_LIBOMP
Browse files Browse the repository at this point in the history
  • Loading branch information
s-u committed Apr 11, 2021
1 parent 9038c18 commit b795ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/flangrti/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ target_link_libraries(flangrti_shared m)
if (NOT DEFINED LIBOMP_EXPORT_DIR)
find_library(
FLANG_LIBOMP
libomp.so
libomp${CMAKE_SHARED_LIBRARY_SUFFIX}
HINTS ${CMAKE_BINARY_DIR}/lib)
target_link_libraries(flangrti_shared ${FLANG_LIBOMP})
endif()

find_library(
LIBPGMATH
libpgmath.so
libpgmath${CMAKE_SHARED_LIBRARY_SUFFIX}
HINTS ${CMAKE_BINARY_DIR}/lib)
target_link_libraries(flangrti_shared ${LIBPGMATH})

Expand Down

0 comments on commit b795ff3

Please sign in to comment.