Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong output folders with single-config cmake generators #1006

Open
jardik opened this issue Dec 2, 2020 · 0 comments
Open

Wrong output folders with single-config cmake generators #1006

jardik opened this issue Dec 2, 2020 · 0 comments

Comments

@jardik
Copy link

jardik commented Dec 2, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant