Ask Your Question

Revision history [back]

Problem with static built

Hi guys,

for me personally, the "NOT DEFINED BUILD_SHARED_LIBS" in line 46 of OpenCVConfig.cmake:

if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)

results in OpenCV_STATIC to be set to OFF, even if OpenCV was actually compiled statically. Am I doing something wrong or is this a bug?

Cheers, Jo

Problem with static built

Hi guys,

for me personally, the "NOT DEFINED BUILD_SHARED_LIBS" in line 46 of OpenCVConfig.cmake:

if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)

results in OpenCV_STATIC to be set to OFF, even if OpenCV was actually compiled statically. Am I doing something wrong or is this a bug?

Cheers, Jo