I get this error when trying to run the cmake file OpenCVConfig. I am on windows 8.1 64 bit. I am using the latest version of cmake.

Line 44 looks like this :
if(CMAKE_VERSION VERSION_GREATER 2.6)
get_property(OpenCV_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
if(NOT ";${OpenCV_LANGUAGES};" MATCHES ";CXX;")
enable_language(CXX)
endif()
endif()
I am tring to run the cmake because I am currently getting linking errors when trying to build (using static libs):

↧