Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Add --pic default for ISPC compilation (#265)
Browse files Browse the repository at this point in the history
fixes #262
  • Loading branch information
pramodk authored Feb 18, 2020
1 parent 6d4f4a7 commit 9b47f2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ endif()
include(OpenAccHelper)
include(ClangFormatHelper)

# =============================================================================
# ISPC should compile with --pic by default
# =============================================================================
set(CMAKE_ISPC_FLAGS "--pic ${CMAKE_ISPC_FLAGS}")

# =============================================================================
# Common build options
# =============================================================================
Expand Down

0 comments on commit 9b47f2b

Please sign in to comment.