From 1bd15dad60f7836a88639aed413f2740585d8994 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Wed, 10 Jul 2019 14:30:29 -0600 Subject: [PATCH] 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. --- direct/src/distributed/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/distributed/CMakeLists.txt b/direct/src/distributed/CMakeLists.txt index 26f8f2414b..51a5dc7817 100644 --- a/direct/src/distributed/CMakeLists.txt +++ b/direct/src/distributed/CMakeLists.txt @@ -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})