aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-02-17 23:24:26 +0100
committerRobert Tari <robert@tari.in>2022-02-17 23:43:05 +0100
commit901192f9fd427f19d5fe02a48d22fd306d62ab07 (patch)
tree9d6eaaf21a32a77f50351dec36521326446e2ec1 /tests
parentbe9c06cecaa710f53a538b8975de72332904c1ca (diff)
downloadayatana-indicator-sound-901192f9fd427f19d5fe02a48d22fd306d62ab07.tar.gz
ayatana-indicator-sound-901192f9fd427f19d5fe02a48d22fd306d62ab07.tar.bz2
ayatana-indicator-sound-901192f9fd427f19d5fe02a48d22fd306d62ab07.zip
Clean up compilation flags
Diffstat (limited to 'tests')
-rw-r--r--tests/service-mocks/media-player-mpris-mock/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt b/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
index abe109e..27302f0 100644
--- a/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
+++ b/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
@@ -1,8 +1,7 @@
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fPIC -pthread")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -fno-strict-aliasing -Wextra -fPIC -pthread")
+add_definitions("-fPIC")
find_package(Qt5DBus REQUIRED)
include_directories(${Qt5DBus_INCLUDE_DIRS}