Needed by python lib itself for static
This commit is contained in:
parent
8f2b707d02
commit
6bb457be69
@ -48,6 +48,11 @@ if (STATIC_BUILD)
|
|||||||
else()
|
else()
|
||||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a" ".so")
|
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a" ".so")
|
||||||
set(link_param "-static")
|
set(link_param "-static")
|
||||||
|
if (BUILD_PYTHON)
|
||||||
|
find_package(ZLIB)
|
||||||
|
find_package(EXPAT)
|
||||||
|
find_package(Threads)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user