aboutsummaryrefslogtreecommitdiff
path: root/cmake/host.cmake
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-27 17:18:39 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-27 17:38:10 +0100
commit39ecbd690b2327db4328123f3f9a50c8492794ad (patch)
tree123593f7bf8fe64ca4194194ac24c50384fbf176 /cmake/host.cmake
parent8cd3297d05ee2301d76a6cf7fc63efd26af3885b (diff)
downloadjancity-39ecbd690b2327db4328123f3f9a50c8492794ad.tar.gz
cmake: Do not mkdir cdroot for non-PS1 builds
Diffstat (limited to 'cmake/host.cmake')
-rw-r--r--cmake/host.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/host.cmake b/cmake/host.cmake
index 36d7d70..8323bed 100644
--- a/cmake/host.cmake
+++ b/cmake/host.cmake
@@ -1,3 +1,5 @@
+set(cdroot ${CMAKE_BINARY_DIR})
+
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(cflags ${cflags} -Og)
else()