mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
CMake: Fix include path when building prc into metalib
This commit is contained in:
parent
218d0e8ade
commit
570afa6973
@ -72,6 +72,7 @@ composite_sources(p3prc P3PRC_SOURCES)
|
||||
|
||||
add_component_library(p3prc SYMBOL BUILDING_DTOOL_PRC
|
||||
${P3PRC_HEADERS} ${P3PRC_SOURCES})
|
||||
target_include_directories(p3prc PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
|
||||
# The extensions need py_panda.h and extension.h from interrogatedb
|
||||
target_include_directories(p3prc PUBLIC
|
||||
$<TARGET_PROPERTY:p3interrogatedb,INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
|
Loading…
x
Reference in New Issue
Block a user