diff --git a/Tests/BuildDepends/Project/CMakeLists.txt b/Tests/BuildDepends/Project/CMakeLists.txt index 25460388e..f9cbc5661 100644 --- a/Tests/BuildDepends/Project/CMakeLists.txt +++ b/Tests/BuildDepends/Project/CMakeLists.txt @@ -1,4 +1,4 @@ project(testRebuild) -add_library(foo STATIC ${testRebuild_BINARY_DIR}/foo.c) -add_executable(bar bar.c) +add_library(foo STATIC ${testRebuild_BINARY_DIR}/foo.cxx) +add_executable(bar bar.cxx) target_link_libraries(bar foo)