aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-02-17 16:01:23 +0100
committerRobert Tari <robert@tari.in>2022-02-17 16:01:23 +0100
commit4b442de3f5fbb524dae7857dcc04afe020538f95 (patch)
treec03ebc4d6473bcedb94828f3337da24c95474fc8 /tests
parent47244a91659255454778d0321cc4354201bbbb8a (diff)
downloadlibayatana-indicator-4b442de3f5fbb524dae7857dcc04afe020538f95.tar.gz
libayatana-indicator-4b442de3f5fbb524dae7857dcc04afe020538f95.tar.bz2
libayatana-indicator-4b442de3f5fbb524dae7857dcc04afe020538f95.zip
Clean up compilation flags
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a299b65..cf84c55 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -10,7 +10,6 @@ find_program(DBUS_TEST_RUNNER dbus-test-runner)
function(add_test_library_by_name name)
set (TEST_LIBRARY_NAME ${name})
- set_source_files_properties(${TEST_LIBRARY_NAME}.c PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
add_library("${TEST_LIBRARY_NAME}" SHARED ${TEST_LIBRARY_NAME}.c)
target_include_directories("${TEST_LIBRARY_NAME}" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
target_include_directories("${TEST_LIBRARY_NAME}" PUBLIC "${CMAKE_SOURCE_DIR}/src")
@@ -21,7 +20,6 @@ endfunction()
function(add_test_executable_by_name name)
set (TEST_EXECUTABLE_NAME ${name})
- set_source_files_properties(${TEST_EXECUTABLE_NAME}.c PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
add_executable("${TEST_EXECUTABLE_NAME}" ${TEST_EXECUTABLE_NAME}.c)
target_compile_definitions("${TEST_EXECUTABLE_NAME}" PUBLIC BUILD_DIR="${CMAKE_CURRENT_BINARY_DIR}")
target_compile_definitions("${TEST_EXECUTABLE_NAME}" PUBLIC SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}")
@@ -257,7 +255,6 @@ add_custom_command(
add_test("loader-tester" "loader-tester")
# indicator-test-service
-set_source_files_properties(indicator-test-service.c PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
add_executable("indicator-test-service" indicator-test-service.c)
target_include_directories("indicator-test-service" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
target_link_libraries("indicator-test-service" ${PROJECT_DEPS_LIBRARIES})