From 8742150f2faf2f6c8cc2e0bfbdb285ab9ba38004 Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 27 Nov 2022 03:42:43 -0800 Subject: [PATCH] cmake: change library link name casing Fixes linux mingw cross compile --- thirdparty/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index a1db22623..41c26c4e0 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -474,7 +474,7 @@ if(NOT "${SRB2_CONFIG_SYSTEM_LIBRARIES}") target_compile_options(openmpt PRIVATE "-g0") endif() if("${CMAKE_SYSTEM_NAME}" STREQUAL Windows) - target_link_libraries(openmpt PRIVATE Rpcrt4) + target_link_libraries(openmpt PRIVATE rpcrt4) endif() target_compile_features(openmpt PRIVATE cxx_std_11) target_compile_definitions(openmpt PRIVATE -DLIBOPENMPT_BUILD) @@ -515,4 +515,4 @@ if(NOT "${SRB2_CONFIG_SYSTEM_LIBRARIES}") ) target_include_directories(discord-rpc INTERFACE "${DiscordRPC_SOURCE_DIR}/include") add_library(DiscordRPC::DiscordRPC ALIAS discord-rpc) -endif() \ No newline at end of file +endif()