mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
In panda config, unset libraries we're not using so that they're not used as link targets.
This commit is contained in:
parent
8d3e7541ef
commit
995688760b
@ -73,6 +73,10 @@ function(package_option name)
|
||||
|
||||
# Create the option.
|
||||
option("HAVE_${name}" "${cache_string}" "${default}")
|
||||
if(NOT HAVE_${name})
|
||||
unset(${name}_LIBRARY)
|
||||
unset(${name}_LIBRARIES)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user