pull/13383/head
Anatoly Baksheev 14 years ago
parent 17e1bcb006
commit 429b33de97
  1. 7
      modules/gpu/CMakeLists.txt_cuda32
  2. 7
      modules/gpu/CMakeLists.txt_cuda4.0

@ -109,8 +109,11 @@ if(SOLUTION_FOLDERS_ENABLED)
endif()
if (OPENCV_BUILD_SHARED_LIB)
#add_definitions(-DCVAPI_EXPORTS)
set_target_properties(${the_target} PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS)
if (MSVC)
set_target_properties(${the_target} PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS)
else()
add_definitions(-DCVAPI_EXPORTS)
endif()
endif()
# Additional target properties

@ -109,8 +109,11 @@ if(SOLUTION_FOLDERS_ENABLED)
endif()
if (OPENCV_BUILD_SHARED_LIB)
#add_definitions(-DCVAPI_EXPORTS)
set_target_properties(${the_target} PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS)
if (MSVC)
set_target_properties(${the_target} PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS)
else()
add_definitions(-DCVAPI_EXPORTS)
endif()
endif()
# Additional target properties

Loading…
Cancel
Save