mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Disable MinGW std threads includes by default
In preparation for removal later
This commit is contained in:
parent
31d87f6101
commit
77f1655686
@ -282,7 +282,7 @@ endif()
|
||||
set_target_properties(openttd PROPERTIES OUTPUT_NAME "${BINARY_NAME}")
|
||||
# All other files are added via target_sources()
|
||||
|
||||
if (MINGW)
|
||||
if (MINGW AND OPTION_MINGW_STDTHREADS)
|
||||
target_link_libraries(${OPENTTD_LIB} mingw_stdthreads)
|
||||
endif()
|
||||
|
||||
|
5
src/3rdparty/CMakeLists.txt
vendored
5
src/3rdparty/CMakeLists.txt
vendored
@ -6,7 +6,10 @@ add_subdirectory(squirrel)
|
||||
add_subdirectory(nlohmann)
|
||||
add_subdirectory(opengl)
|
||||
add_subdirectory(cpp-btree)
|
||||
add_subdirectory(mingw-std-threads)
|
||||
add_subdirectory(monocypher)
|
||||
add_subdirectory(randombytes)
|
||||
add_subdirectory(robin_hood)
|
||||
|
||||
if (MINGW AND OPTION_MINGW_STDTHREADS)
|
||||
add_subdirectory(mingw-std-threads)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user