Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ssuurlresolver] Compile with C++11 (Contributes to JB#25649)
  • Loading branch information
thp committed May 8, 2015
1 parent 3d4d1cb commit 87fd40f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ssuurlresolver/ssuurlresolver.pro
Expand Up @@ -9,6 +9,9 @@ target.path = /usr/lib/zypp/plugins/urlresolver
QT += network
CONFIG += link_pkgconfig

# Needed for recent versions of libzypp
QMAKE_CXXFLAGS += -std=c++11

HEADERS = ssuurlresolver.h
SOURCES = main.cpp \
ssuurlresolver.cpp
Expand Down
5 changes: 4 additions & 1 deletion tests/ut_ssucli/ut_ssucli.pro
Expand Up @@ -17,4 +17,7 @@ test_data_usr_share.files = \
testdata/repos.ini \

test_data_boardmappings_d.files = \
testdata/board-mappings.ini \
testdata/board-mappings.ini \

# Needed for recent versions of libzypp
QMAKE_CXXFLAGS += -std=c++11
5 changes: 4 additions & 1 deletion tests/ut_ssuurlresolver/ut_ssuurlresolver.pro
Expand Up @@ -20,4 +20,7 @@ test_data_usr_share.files = \
testdata/repos.ini \

test_data_boardmappings_d.files = \
testdata/board-mappings.ini \
testdata/board-mappings.ini \

# Needed for recent versions of libzypp
QMAKE_CXXFLAGS += -std=c++11

0 comments on commit 87fd40f

Please sign in to comment.