CMake: Manually set p3distributed's linker language

It doesn't contain any source files anymore (see last commit),
so for non-metalib builds, this is necessary for CMake to
understand how to invoke the linker/archiver.
This commit is contained in:
Sam Edwards 2019-07-10 14:30:29 -06:00
parent e3cd658642
commit 1bd15dad60

View File

@ -18,6 +18,7 @@ set(P3DISTRIBUTED_SOURCES
add_component_library(p3distributed NOINIT SYMBOL BUILDING_DIRECT_DISTRIBUTED
${P3DISTRIBUTED_HEADERS})
set_target_properties(p3distributed PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(p3distributed p3directbase p3dcparser panda)
target_interrogate(p3distributed ALL EXTENSIONS ${P3DISTRIBUTED_SOURCES})