Skip to content

Commit

Permalink
Updated Makefile.am
Browse files Browse the repository at this point in the history
Travis CI cannot find "qucspowercombiningtool.h" header, so this commit
is another attempt to solve the problem
  • Loading branch information
andresmmera committed Aug 31, 2016
1 parent 95b4811 commit 81c4cc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qucs/qucs-powercombining/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
PROJECT(qucspowercombining CXX C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
cmake_policy(VERSION 2.6)

FIND_PACKAGE(Qt4 COMPONENTS QtSvg QtGui QtCore)
INCLUDE(${QT_USE_FILE})
# use top VERSION file
file (STRINGS ${PROJECT_SOURCE_DIR}/../VERSION QUCS_VERSION)
message(STATUS "Configuring ${PROJECT_NAME} (GUI): VERSION ${QUCS_VERSION}")
Expand Down
3 changes: 3 additions & 0 deletions qucs/qucs-powercombining/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ MOCFILES = $(MOCHEADERS:.h=.moc.cpp)

qucspowercombining_SOURCES = main.cpp qucspowercombiningtool.cpp qrc_qucspowercombining.cpp

EXTRA_DIST = qucspowercombining.qrc
qrc_qucspowercombining.cpp: qucspowercombining.qrc
$(RCC) -o $@ $<

Expand All @@ -37,6 +38,8 @@ AM_CPPFLAGS = $(X11_INCLUDES) $(QT_INCLUDES)
qucspowercombining_LDFLAGS = $(X11_LDFLAGS) $(QT_LDFLAGS)
qucspowercombining_LDADD = $(X11_LIBS) $(QT_LIBS)

noinst_HEADERS = $(MOCHEADERS)

SUFFIXES = .moc.cpp

.h.moc.cpp:
Expand Down

0 comments on commit 81c4cc8

Please sign in to comment.