Merge pull request #8175 from alalek:cmake_cleanup_defines

This commit is contained in:
Alexander Alekhin 2017-02-13 10:59:09 +00:00
commit b7945827f9
3 changed files with 0 additions and 12 deletions

View File

@ -138,10 +138,6 @@ if(APPLE)
add_apple_compiler_options(the_module)
endif()
if(BUILD_SHARED_LIBS)
add_definitions(-DHIGHGUI_EXPORTS)
endif()
if(MSVC)
set_target_properties(${the_module} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /NODEFAULTLIB:libcmt.lib /DEBUG")
endif()

View File

@ -116,10 +116,6 @@ if(APPLE)
add_apple_compiler_options(the_module)
endif()
if(BUILD_SHARED_LIBS)
add_definitions(-DIMGCODECS_EXPORTS)
endif()
if(MSVC)
set_target_properties(${the_module} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /NODEFAULTLIB:libcmt.lib /DEBUG")
endif()

View File

@ -244,10 +244,6 @@ if(APPLE)
add_apple_compiler_options(the_module)
endif()
if(BUILD_SHARED_LIBS)
add_definitions(-DVIDEOIO_EXPORTS)
endif()
if(MSVC)
set_target_properties(${the_module} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /NODEFAULTLIB:libcmt.lib /DEBUG")
endif()