Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-933

LP #1510085: storage/tokudb/PerconaFT/buildheader/CMakeLists.txt

    Details

      Description

      **Reported in Launchpad by Sergei Golubchik last update 18-11-2015 11:11:13

      You have
      -----------------------------
      add_executable(make_tdb make_tdb)
      -----------------------------
      This is pretty bad, because it says that "make_tdb" is the source for the make_tdb target. During first compilation it works, because cmake will look for files with different extensions and make_tdb.cc will match. But when re-running make, the file with the exact name "make_tdb" will exist, and it will be used as a source!

      You can fix it by specifying the source file name explicitly:
      -----------------------------
      add_executable(make_tdb make_tdb.cc)
      -----------------------------

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: