Skip to content

Commit 37e7616

Browse files
committed
cmake: fix configure output file issue
1 parent cc9da81 commit 37e7616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function(config_bind_optional tagname opttype)
4747

4848
set(py_file test_optional_${tagname}.py)
4949
configure_file(python/test_optional.py.in
50-
${CMAKE_CURRENT_SOURCE_DIR}/python/${py_file})
50+
${CMAKE_CURRENT_BINARY_DIR}/python/${py_file})
5151
add_lib_unit_test(${MODNAME})
5252
message(
5353
STATUS

0 commit comments

Comments
 (0)