UI: Remove NOMINMAX from CMake scripts
If we want NOMINMAX globally, we should probably define at top level.
This commit is contained in:
parent
c93b040d0d
commit
e181a23bed
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user