[gtk-doc/tintou/cmake-no-subdir] cmake: Do not use a subdirectory to generate all the files



commit 54a7559bd41fbe0d783e2e9b11183c9efc0637e0
Author: Corentin Noël <corentin elementary io>
Date:   Thu Mar 14 07:29:35 2019 +0100

    cmake: Do not use a subdirectory to generate all the files

 buildsystems/cmake/GtkDocConfig.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/buildsystems/cmake/GtkDocConfig.cmake b/buildsystems/cmake/GtkDocConfig.cmake
index 57b2aac..ea77ab4 100644
--- a/buildsystems/cmake/GtkDocConfig.cmake
+++ b/buildsystems/cmake/GtkDocConfig.cmake
@@ -159,7 +159,7 @@ function(gtk_doc_add_module _doc_prefix)
     endforeach()
 
     # a directory to store output.
-    set(_output_dir "${CMAKE_CURRENT_BINARY_DIR}/${_doc_prefix}")
+    set(_output_dir "${CMAKE_CURRENT_BINARY_DIR}")
     set(_output_dir_stamp "${_output_dir}/dir.stamp")
 
     # set default sgml file if not specified


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]