Currently it's linking it dynamically,causing much trouble for me(missing msvcr80.dll).
How should I instruct cmake to link it statically?
Currently it's linking it dynamically,causing much trouble for me(missing msvcr80.dll).
How should I instruct cmake to link it statically?
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")