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 authored and KrzaQ committed Feb 24, 2023
1 parent 3700648 commit 9bc3149
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 9bc3149

Please sign in to comment.