Skip to content

Commit

Permalink
linux linker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vackva committed May 5, 2024
1 parent ba46bd4 commit 1d1d837
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ if(MSVC)
add_subdirectory(modules/customlibmysofa SYSTEM)
else()
add_subdirectory(modules/libmysofa SYSTEM)
if (NOT APPLE)
set_target_properties(mysofa-static PROPERTIES POSITION_INDEPENDENT_CODE ON)
endif ()
endif()


Expand Down

0 comments on commit 1d1d837

Please sign in to comment.