aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-12 19:56:03 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-12 19:56:03 +0200
commit9953012154f18ea51ff9216529089715ba79fb41 (patch)
tree3f5c40b3b490d4c526f887965eaaf513bf75c71b /ice40/main.cc
parent301136db033e6696b7d606f9833474fdd5e77aac (diff)
downloadnextpnr-9953012154f18ea51ff9216529089715ba79fb41.tar.gz
nextpnr-9953012154f18ea51ff9216529089715ba79fb41.tar.bz2
nextpnr-9953012154f18ea51ff9216529089715ba79fb41.zip
reveresed logic for enabling main file, and made tests link arch files
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index 0e989819..c89079cf 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -17,7 +17,7 @@
*
*/
-#ifndef PYTHON_MODULE
+#ifdef MAIN_EXECUTABLE
#include <QApplication>
#include <boost/filesystem/convenience.hpp>