Skip to content

Fixes #46. Put C++11 flags into pkg-config & cmake

Add C++11 detection code to the nds2-clientConfig.cmake file. Add CPP11_FLAGs to the libndscxx.pc file. This is an empty value with MSVC.

Tweak the pkg_config_lite code to allow for parsing of lines containing '=' in a cflags or libs section. Reorder to allow more specific code before the arbitrary variable processing. Otherwise -std=c++11 gets interpreted as a pkg config variable.

Merge request reports