Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable PIC for static library on UNIX systems
Added an `endif()` statement to close the `if(WIN32)` block. Introduced a new `if(UNIX)` block to set `POSITION_INDEPENDENT_CODE` to `ON` for the `lib` target. This ensures the static library is compiled with Position Independent Code on UNIX systems, which is necessary for creating shared libraries.
- Loading branch information