Skip to content

Commit 1049c07

Browse files
committed
build: Fix CMake source file extensions must be explicit
1 parent 156dd29 commit 1049c07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/extension/toolbox/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ foreach(_name
2929
set(_target test_ext_toolbox_${_name})
3030

3131
add_executable(${_target} "")
32-
target_sources(${_target} PRIVATE ${_name})
32+
target_sources(${_target} PRIVATE "${_name}.cpp")
3333
target_link_libraries(${_target}
3434
PRIVATE
3535
gil_compile_options
@@ -50,7 +50,7 @@ foreach(_name
5050
set(_target test_ext_toolbox_${_name})
5151

5252
add_executable(${_target} "")
53-
target_sources(${_target} PRIVATE ${_name})
53+
target_sources(${_target} PRIVATE "${_name}.cpp")
5454
target_link_libraries(${_target}
5555
PRIVATE
5656
gil_compile_options

0 commit comments

Comments
 (0)