Opened 8 years ago
Closed 7 years ago
#756 closed enhancement (duplicate)
cmake build shared or static based BUILD_SHARED_LIBS
Reported by: | rashadkm | Owned by: | mloskot |
---|---|---|---|
Priority: | major | Milestone: | 3.5.2 |
Component: | Build/Install (cmake) | Version: | 3.5.0 |
Severity: | Feature Request | Keywords: | |
Cc: |
Description
cmake build in geos creates both static and shared libary always.
geos geos-static
It would be nice if it honors BUILD_SHARED_LIBS option of cmake https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html
This is a simple fix in src/CMakeLists.txt. I can provide a patch if that is okay. But I guess there is some reason geos builds both. If so should be allowed with the help of cmake options
ENABLE_SHARED ENABLE_STATIC
Change History (3)
comment:1 by , 8 years ago
comment:3 by , 7 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Since that is a good idea for the CMake config improvement, I decided to work on it. See #816
Note:
See TracTickets
for help on using tickets.
Please, patch would make wonders. Thanks.