Skip to content

Commit 7e8111e

Browse files
committed
Explicitly set target linker language for compat CMakeLists.txt
This fixes compatibility with CMake's Ninja generator
1 parent 146174e commit 7e8111e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compat/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ endif (WIN32)
5454

5555
add_library(compat_incl INTERFACE)
5656
add_library(compat OBJECT)
57+
set_target_properties(compat PROPERTIES LINKER_LANGUAGE CXX)
5758

5859
target_sources(compat PRIVATE ${CRASHPAD_COMPAT_LIBRARY_FILES})
5960
target_link_libraries(compat PUBLIC util compat_incl)

0 commit comments

Comments
 (0)