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 1080791 commit fa7f5d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qucs/qucs-wideband-matching/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ PROJECT(QucsWidebandMatching 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 Expand Up @@ -79,7 +81,7 @@ IF(APPLE)
ENDIF(APPLE)

ADD_EXECUTABLE( QucsWidebandMatching MACOSX_BUNDLE WIN32
${wb_matching_sources}
${}
${wb_matching_moc_sources}
${RESOURCES_SRCS} )

Expand Down
4 changes: 4 additions & 0 deletions qucs/qucs-wideband-matching/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ MOCFILES = $(MOCHEADERS:.h=.moc.cpp)

QucsWidebandMatching_SOURCES = main.cpp ui.cpp io.cpp MathOperations.cpp mat.cpp sparengine.cpp GRABIM.cpp qrc_QucsWidebandMatching.cpp

EXTRA_DIST = QucsWidebandMatching.qrc

qrc_QucsWidebandMatching.cpp: QucsWidebandMatching.qrc
$(RCC) -o $@ $<

Expand All @@ -39,6 +41,8 @@ AM_CPPFLAGS = $(X11_INCLUDES) $(QT_INCLUDES)
QucsWidebandMatching_LDFLAGS = $(X11_LDFLAGS) $(QT_LDFLAGS)
QucsWidebandMatching_LDADD = $(X11_LIBS) $(QT_LIBS)

noinst_HEADERS = $(MOCHEADERS)

SUFFIXES = .moc.cpp

.h.moc.cpp:
Expand Down

0 comments on commit fa7f5d9

Please sign in to comment.