mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
tinydisplay: Fix build when no platform display module is enabled
Fixes #1554
This commit is contained in:
parent
20a2b26090
commit
1a3ee2b232
@ -118,6 +118,7 @@ add_metalib(p3tinydisplay ${MODULE_TYPE}
|
|||||||
unset(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME)
|
unset(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME)
|
||||||
|
|
||||||
set_target_properties(p3tinydisplay PROPERTIES DEFINE_SYMBOL BUILDING_TINYDISPLAY)
|
set_target_properties(p3tinydisplay PROPERTIES DEFINE_SYMBOL BUILDING_TINYDISPLAY)
|
||||||
|
target_link_libraries(p3tinydisplay panda)
|
||||||
|
|
||||||
install(TARGETS p3tinydisplay
|
install(TARGETS p3tinydisplay
|
||||||
EXPORT TinyDisplay COMPONENT TinyDisplay
|
EXPORT TinyDisplay COMPONENT TinyDisplay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user