removed OPENCV_BUILD_SHARED_LIB in favor of BUILD_SHARED_LIBS

This commit is contained in:
Alexander Shishkov
2011-05-31 13:17:59 +00:00
parent 926a6bba00
commit 6aabf72bc5
7 changed files with 7 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ macro(define_opencv_module name)
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()