mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
CMake: Migrate detection of libsquish
This commit is contained in:
parent
71836f09e3
commit
a9717cf3ab
@ -475,13 +475,6 @@ option(HAVE_VIDEO4LINUX
|
||||
"Set this to enable webcam support on Linux." ${IS_LINUX})
|
||||
|
||||
|
||||
# Is libsquish installed, and where?
|
||||
find_package(Squish QUIET)
|
||||
|
||||
package_option(SQUISH
|
||||
"Enables support for automatic compression of DXT textures.")
|
||||
|
||||
|
||||
# Is Cg installed, and where?
|
||||
find_package(Cg QUIET)
|
||||
package_option(CG
|
||||
|
@ -189,12 +189,6 @@ endif()
|
||||
# Now go through all the packages and report whether we have them.
|
||||
show_packages()
|
||||
|
||||
if(HAVE_SQUISH)
|
||||
message("+ squish")
|
||||
else()
|
||||
message("- Did not find squish")
|
||||
endif()
|
||||
|
||||
if(HAVE_CG)
|
||||
message("+ Nvidia Cg High Level Shading Language")
|
||||
else()
|
||||
|
@ -85,6 +85,17 @@ package_option(FFTW
|
||||
|
||||
config_package(FFTW "FFTW")
|
||||
|
||||
#
|
||||
# ------------ libsquish ------------
|
||||
#
|
||||
|
||||
find_package(Squish QUIET)
|
||||
|
||||
package_option(SQUISH
|
||||
"Enables support for automatic compression of DXT textures.")
|
||||
|
||||
config_package(SQUISH "libsquish")
|
||||
|
||||
# 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