cmake: cleanup unused defines

pull/8175/head
Alexander Alekhin 8 years ago
parent a347569350
commit 8633ef451e
  1. 4
      modules/highgui/CMakeLists.txt
  2. 4
      modules/imgcodecs/CMakeLists.txt
  3. 4
      modules/videoio/CMakeLists.txt

@ -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()

@ -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()

@ -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()

Loading…
Cancel
Save