Skip to content

Commit

Permalink
settings for statically linked dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jun 18, 2024
1 parent 32ac753 commit e0e5991
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 @@ -11,6 +11,9 @@ option(OPTION_USE_ZLIB "Build with Zlib support" ON)
option(OPTION_USE_LIBTIFF "Build with LibTiff support" OFF)
option(OPTION_USE_ICONV "Build with Libiconv support" OFF)

# need to statically link everything for the python bindings and standalone solvers
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
set(BUILD_SHARED_LIBS OFF)

if (OPTION_TARGET_PYTHON_BINDING)
project(
Expand Down

0 comments on commit e0e5991

Please sign in to comment.