Skip to content

Commit

Permalink
Explicitly set target linker language for compat CMakeLists.txt
Browse files Browse the repository at this point in the history
This fixes compatibility with CMake's Ninja generator
  • Loading branch information
janisozaur committed Feb 25, 2023
1 parent 8fa7b60 commit 87d67ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compat/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87d67ad

Please sign in to comment.