]> sigrok.org Git - pulseview.git/commit
CMakeLists.txt: Pass -DENABLE_SIGNALS to the compiler.
authorUwe Hermann <redacted>
Mon, 16 Jun 2014 17:27:27 +0000 (19:27 +0200)
committerUwe Hermann <redacted>
Mon, 16 Jun 2014 17:43:55 +0000 (19:43 +0200)
commit9632990d5428efb120d1085d4f441ad371d447fc
tree9b68fff4096db8d3cf73deecbf258391aa19e666
parent9e587572b631aa81b1626ff55a21e660742ea2c0
CMakeLists.txt: Pass -DENABLE_SIGNALS to the compiler.

Until now only the cmake variable ENABLE_SIGNALS was used to add
signalhandler.{cpp,h} to the list of files to build.

However, main.cpp also uses '#ifdef ENABLE_SIGNALS' which didn't work
so far, since -DENABLE_SIGNALS was not passed to the compiler.

(one effect being that PulseView cannot be killed via CTRL-C from
an xterm or the like)

This fixes bug #368.
CMakeLists.txt