mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
CMake: Migrate zlib package detection
This commit is contained in:
parent
0ed64c72ce
commit
72d668e05a
@ -466,12 +466,6 @@ option(HAVE_VIDEO4LINUX
|
||||
"Set this to enable webcam support on Linux." ${IS_LINUX})
|
||||
|
||||
|
||||
# Is ZLIB installed, and where?
|
||||
find_package(ZLIB QUIET)
|
||||
|
||||
package_option(ZLIB DEFAULT ON
|
||||
"Enables support for compression of Panda assets.")
|
||||
|
||||
# Is FFMPEG installed, and where?
|
||||
find_package(FFMPEG QUIET)
|
||||
find_package(SWScale QUIET)
|
||||
|
@ -189,12 +189,6 @@ endif()
|
||||
# Now go through all the packages and report whether we have them.
|
||||
show_packages()
|
||||
|
||||
if(HAVE_ZLIB)
|
||||
message("+ zlib")
|
||||
else()
|
||||
message("- Did not find zlib")
|
||||
endif()
|
||||
|
||||
if(HAVE_RAD_MSS)
|
||||
message("+ Miles Sound System")
|
||||
else()
|
||||
|
@ -135,6 +135,17 @@ package_option(VRPN
|
||||
|
||||
config_package(VRPN "VRPN")
|
||||
|
||||
#
|
||||
# ------------ zlib ------------
|
||||
#
|
||||
|
||||
find_package(zlib QUIET)
|
||||
|
||||
package_option(ZLIB
|
||||
"Enables support for compression of Panda assets.")
|
||||
|
||||
config_package(ZLIB "zlib")
|
||||
|
||||
# Find and configure Miles Sound System
|
||||
find_package(Miles QUIET)
|
||||
#config_package(RAD_MSS "Miles Sound System")
|
||||
|
Loading…
x
Reference in New Issue
Block a user