We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ecb2f7 commit 7d50492Copy full SHA for 7d50492
runtime/CMakeLists.txt
@@ -219,7 +219,7 @@ configure_file(${PROJECT_PARENT_DIR}/${LDC_EXE}_install.conf.in ${PROJECT_BINARY
219
220
set(GCCBUILTINS "")
221
function(gen_gccbuiltins name)
222
- set(module "gccbuiltins_${name}.di")
+ set(module "${PROJECT_BINARY_DIR}/gccbuiltins_${name}.di")
223
if (GCCBUILTINS STREQUAL "")
224
set(GCCBUILTINS "${module}" PARENT_SCOPE)
225
else()
@@ -228,7 +228,6 @@ function(gen_gccbuiltins name)
228
add_custom_command(
229
OUTPUT ${module}
230
COMMAND gen_gccbuiltins ${module} "${name}"
231
- WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
232
)
233
endfunction()
234
0 commit comments