Wrong output folders with single-config cmake generators
If OSG 3.6 is configured by cmake with single-config cmake generator (such as "NMake Makefiles"), then binaries are compiled to unexpected locations (build\src\libraryName\libraryName.dll), instead of expected build\bin directory. Same applies to osg plugins.
Issue is in CMakeModules/OsgMacroUtils.cmake, FILE(TO_CMAKE_PATH ...) has wrong syntax. I am attaching patch that fixes the issue. Patch was not created by git, so someone may need to apply it manually and strip one path component.
Edit: Ok, it says I can't attach a patch file, or I just don't know how. Here it is as a text. Ok, broken too, I have no idea how this works, whatever, someone fix it? :) Edit: txt works ... OSG-singleConfigurationGenerator.patch.txt