Jump to content

CMake build/install issue: dangling reference to deleted file in docs/CMakeLists.txt


Philipp Ittershagen

Recommended Posts

Commit dca3c40305a4feb05916459568389742a85d2814 removed the file docs/tlm/ChangeLog but it is currently still referenced in docs/CMakeLists.txt, which results in an error when trying to install the library. As of fd4bedd564457278a5600b406c9082ed190dc486, this bug is still present.

Steps to reproduce:

mkdir build && cd build
cmake ..
cmake --build .
DESTDIR=tmp-install cmake --build . -- install

Here's a trivial patch that solves the issue:

diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index 89ea23ba..d550b3bc 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -49,7 +49,6 @@ set (DOC_FILES
 	       sysc/archived/SystemC_2_1_overview.pdf
 	       sysc/archived/SystemC_2_1_features.pdf
 	       sysc/SystemC_2011_New_Features.pdf
-	       tlm/ChangeLog
 	       tlm/release/TLM_2_0_requirements.pdf
 	       tlm/release/TLM_2_0_white_paper.pdf
 	       tlm/release/README.txt

 

Greetings from Oldenburg 🙂

   Philipp

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...