From 901192f9fd427f19d5fe02a48d22fd306d62ab07 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 17 Feb 2022 23:24:26 +0100 Subject: Clean up compilation flags --- tests/service-mocks/media-player-mpris-mock/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/service-mocks') 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} -- cgit v1.2.3