aboutsummaryrefslogtreecommitdiff
path: root/tests/KDEInstallDirsTest/not_cache_variable
diff options
context:
space:
mode:
Diffstat (limited to 'tests/KDEInstallDirsTest/not_cache_variable')
-rw-r--r--tests/KDEInstallDirsTest/not_cache_variable/CMakeLists.txt3
-rw-r--r--tests/KDEInstallDirsTest/not_cache_variable/main.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/KDEInstallDirsTest/not_cache_variable/CMakeLists.txt b/tests/KDEInstallDirsTest/not_cache_variable/CMakeLists.txt
index b78c10d7..6162e070 100644
--- a/tests/KDEInstallDirsTest/not_cache_variable/CMakeLists.txt
+++ b/tests/KDEInstallDirsTest/not_cache_variable/CMakeLists.txt
@@ -5,3 +5,6 @@ set(kde_modules_dir ${CMAKE_SOURCE_DIR}/../../../kde-modules)
set(CMAKE_INSTALL_LIBDIR "foo")
include(${kde_modules_dir}/KDEInstallDirs.cmake)
+
+add_executable(dummy main.c)
+set_target_properties(dummy PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
diff --git a/tests/KDEInstallDirsTest/not_cache_variable/main.c b/tests/KDEInstallDirsTest/not_cache_variable/main.c
new file mode 100644
index 00000000..c13815ce
--- /dev/null
+++ b/tests/KDEInstallDirsTest/not_cache_variable/main.c
@@ -0,0 +1,4 @@
+int main()
+{
+ return 0;
+}