summaryrefslogtreecommitdiffhomepage
path: root/app/tools/CMakeLists.txt
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-09 18:26:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-09 19:46:48 +0200
commit33fd5b4634a946073930bdfcfd3189bf870e9748 (patch)
tree8c1c807fe8e051ad723019ed1a8f648304fcd568 /app/tools/CMakeLists.txt
parent91647978e69000e223c5f1daef89ad3d8e4ce66e (diff)
Update to go modules
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools/CMakeLists.txt')
-rw-r--r--app/tools/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/tools/CMakeLists.txt b/app/tools/CMakeLists.txt
index fa8d3814..e4fda41e 100644
--- a/app/tools/CMakeLists.txt
+++ b/app/tools/CMakeLists.txt
@@ -25,6 +25,7 @@ add_custom_target(libwg-go.so WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lib
CFLAGS=${CMAKE_C_FLAGS}\ -Wno-unused-command-line-argument
LDFLAGS=${CMAKE_SHARED_LINKER_FLAGS}\ -fuse-ld=gold
DESTDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
+ BUILDDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../generated-src
)
# Hack to make it actually build as part of the default target
add_dependencies(libwg.so libwg-go.so)