Skip to content

Commit 5c9aa7a

Browse files
committed
Add PIC
1 parent 918dbaf commit 5c9aa7a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ set(BUILD_STATIC_LIBRARY ON)
2929
set(BUILD_TESTING OFF)
3030
set(BUILTIN_BOOST ON)
3131
set(BUILTIN_EIGEN ON)
32+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
3233
add_subdirectory(lwtnn EXCLUDE_FROM_ALL)
3334

3435

0 commit comments

Comments
 (0)