Skip to content

Commit

Permalink
Merge pull request #4725 from NexGenAnalytics/pm/remove-pic-workaround
Browse files Browse the repository at this point in the history
#4722: Remove Shared build workaround
  • Loading branch information
dalg24 authored Jan 27, 2022
2 parents dc4073a + 47efa8d commit d896909
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ KOKKOS_SETUP_BUILD_ENVIRONMENT()
# 7) Export and install targets

OPTION(BUILD_SHARED_LIBS "Build shared libraries" OFF)
# Workaround for building position independent code.
IF(BUILD_SHARED_LIBS)
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
ENDIF()

SET(KOKKOS_EXT_LIBRARIES Kokkos::kokkos Kokkos::kokkoscore Kokkos::kokkoscontainers Kokkos::kokkosalgorithms)
SET(KOKKOS_INT_LIBRARIES kokkos kokkoscore kokkoscontainers kokkosalgorithms)
Expand Down

0 comments on commit d896909

Please sign in to comment.