Building broken on Linux after CMakeLists change

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Building broken on Linux after CMakeLists change

Post by Gutawer »

This commit https://github.com/coelckers/gzdoom/com ... 06ab22cb2e appears to have broken the CMakeLists and stops it from building on my machine with the error message:

Code: Select all

CMake Error at src/CMakeLists.txt:1459 (install):
  install FILES given directory
  "/home/gutawer/gzdoom/build/Release/soundfonts" to install.
The line in question is:

Code: Select all

install(FILES "${PROJECT_BINARY_DIR}/soundfonts" "${PROJECT_BINARY_DIR}/fm_banks"
		DESTINATION ${INSTALL_SOUNDFONT_PATH}
		COMPONENT "Soundfont resources")
As far as I can tell it's trying to use the FILES form of the install command to install a directory.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Building broken on Linux after CMakeLists change

Post by Graf Zahl »

Why was this even merged? I only noticed that it got in after the fact.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Building broken on Linux after CMakeLists change

Post by _mental_ »

Well, only install rule is broken. I never tried it to be honest. Travis doesn't check it too.
If someone won't do a PR with a fix soon, let's just revert that change.
User avatar
Rachael
Posts: 13559
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Building broken on Linux after CMakeLists change

Post by Rachael »

Graf Zahl wrote:Why was this even merged? I only noticed that it got in after the fact.
It looked okay on Travis and the changes seemed very minor, that's why I merged it.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: Building broken on Linux after CMakeLists change

Post by drfrag »

I tested it on windows and it forced a full rebuild, then it gave a cmd error and did a partial rebuild with no more errors.
What was that shit supposed to be for? Seems someone made that PR without testing it first. Reverted here.
User avatar
Rachael
Posts: 13559
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Building broken on Linux after CMakeLists change

Post by Rachael »

That's the last time I trust that guy's PR's. :|
User avatar
Rachael
Posts: 13559
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Building broken on Linux after CMakeLists change

Post by Rachael »

Reverted.

If someone wants to fix that, it can be done in another full PR.
Post Reply

Return to “Closed Bugs [GZDoom]”