summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2020-11-01 08:50:25 -0500
committerAllen Winter <allen.winter@kdab.com>2020-11-01 08:50:25 -0500
commitd1ac979884549926af495321c1cc3502b4a4551e (patch)
tree52c98a65317cb272c3457b458271a9764255a190 /cmake
parenta3308a23912bba2db654a8c456165c31888cc897 (diff)
downloadlibical-git-d1ac979884549926af495321c1cc3502b4a4551e.tar.gz
GObjectIntrospectionMacros.cmake - possible fix for parallel builds
Issue#423 Unreproducable by the OP. Even so, the suggested code fix seems correct.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/GObjectIntrospectionMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/GObjectIntrospectionMacros.cmake b/cmake/modules/GObjectIntrospectionMacros.cmake
index 1e7ecd79..83aff931 100644
--- a/cmake/modules/GObjectIntrospectionMacros.cmake
+++ b/cmake/modules/GObjectIntrospectionMacros.cmake
@@ -83,7 +83,7 @@ macro(gir_add_introspections introspections_girs)
-o ${CMAKE_CURRENT_BINARY_DIR}/${_typelib}
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${gir}
OUTPUT ${_typelib}
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
list(APPEND _gir_typelibs ${CMAKE_CURRENT_BINARY_DIR}/${_typelib})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_typelib} DESTINATION ${LIB_INSTALL_DIR}/girepository-1.0)