CMake: Fix include path when building prc into metalib

This commit is contained in:
Sam Edwards 2018-04-19 20:06:09 -06:00
parent 218d0e8ade
commit 570afa6973

View File

@ -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>)