mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
cmake: link Rpcrt4 (for uuid) to openmpt on win32
This commit is contained in:
parent
8116edc5a1
commit
e52a13bf39
1 changed files with 3 additions and 0 deletions
3
thirdparty/CMakeLists.txt
vendored
3
thirdparty/CMakeLists.txt
vendored
|
|
@ -470,6 +470,9 @@ if(NOT "${SRB2_CONFIG_SYSTEM_LIBRARIES}")
|
|||
# -DLIBOPENMPT_BUILD
|
||||
configure_file("openmpt_svn_version.h" "svn_version.h")
|
||||
add_library(openmpt "${SRB2_INTERNAL_LIBRARY_TYPE}" ${openmpt_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/svn_version.h)
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL Windows)
|
||||
target_link_libraries(openmpt PRIVATE Rpcrt4)
|
||||
endif()
|
||||
target_compile_features(openmpt PRIVATE cxx_std_11)
|
||||
target_compile_definitions(openmpt PRIVATE -DLIBOPENMPT_BUILD)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue