removed OPENCV_BUILD_SHARED_LIB in favor of BUILD_SHARED_LIBS

removed one more OPENCV_BUILD_SHARED_LIB flag
This commit is contained in:
Alexander Shishkov 2011-05-31 14:22:25 +00:00
parent 8ba6a54d28
commit 63dc1cdd2c

View File

@ -108,7 +108,7 @@ if(ENABLE_SOLUTION_FOLDERS)
set_target_properties(${the_target} PROPERTIES FOLDER "modules")
endif()
if (OPENCV_BUILD_SHARED_LIB)
if (BUILD_SHARED_LIBS)
if (MSVC)
set_target_properties(${the_target} PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS)
else()