mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
CMake: Fix "whitelisted property" error from CMake <3.8
This commit is contained in:
parent
f01303a0b3
commit
30dd14c991
@ -364,8 +364,9 @@ function(export_packages filename)
|
||||
endforeach(config)
|
||||
endif()
|
||||
|
||||
else()
|
||||
# This is an INTERFACE_LIBRARY
|
||||
elseif(CMAKE_VERSION VERSION_GREATER "3.8")
|
||||
# This is an INTERFACE_LIBRARY, and CMake is new enough to support
|
||||
# IMPORTED_IMPLIB
|
||||
get_target_property(imported_libname "${head}" IMPORTED_LIBNAME)
|
||||
if(imported_libname)
|
||||
list(APPEND libraries ${imported_libname})
|
||||
|
Loading…
x
Reference in New Issue
Block a user