Portable way to find out INCLUDE,LIBS,CXXFLAGS,LDFLAGS - how to compile my program on foreign systems?

no

well, mine has OpenCV_LIB_PATH
in general, libs go to CMAKE_INSTALL_PREFIX, which is /usr/local/lib by default on linux