UI: Remove NOMINMAX from CMake scripts

If we want NOMINMAX globally, we should probably define at top level.
This commit is contained in:
jpark37 2021-09-17 22:10:49 -07:00 committed by Jim
parent c93b040d0d
commit e181a23bed
3 changed files with 0 additions and 4 deletions

View File

@ -102,8 +102,6 @@ include_directories(${LIBCURL_INCLUDE_DIRS})
add_definitions(${LIBCURL_DEFINITIONS})
if(WIN32)
add_definitions(-DNOMINMAX)
include_directories(${BLAKE2_INCLUDE_DIR})
set(obs_PLATFORM_SOURCES

View File

@ -42,7 +42,6 @@ set(decklink-ouput-ui_UI
)
if(WIN32)
add_definitions(-DNOMINMAX)
set(MODULE_DESCRIPTION "OBS DeckLink Output UI")
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in decklink-ouput-ui.rc)
list(APPEND decklink-ouput-ui_SOURCES

View File

@ -73,7 +73,6 @@ if(SCRIPTING_ENABLED)
endif()
if(WIN32)
add_definitions(-DNOMINMAX)
set(MODULE_DESCRIPTION "OBS Frontend Tools")
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in frontend-tools.rc)
set(frontend-tools_PLATFORM_SOURCES