From bef83101092f3024dec267cf6204b685280f35e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 15 Jan 2023 11:35:14 +0100 Subject: [PATCH] Explicitly set target linker language for compat CMakeLists.txt This fixes compatibility with CMake's Ninja generator --- compat/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/compat/CMakeLists.txt b/compat/CMakeLists.txt index c0bfdf68..597fc45f 100644 --- a/compat/CMakeLists.txt +++ b/compat/CMakeLists.txt @@ -54,6 +54,7 @@ endif (WIN32) add_library(compat_incl INTERFACE) add_library(compat OBJECT) +set_target_properties(compat PROPERTIES LINKER_LANGUAGE CXX) target_sources(compat PRIVATE ${CRASHPAD_COMPAT_LIBRARY_FILES}) target_link_libraries(compat PUBLIC util compat_incl)