If we want NOMINMAX globally, we should probably define at top level.
@@ -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
)
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()
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