From 335c18821ffedcd488fbb48a22a4401393895568 Mon Sep 17 00:00:00 2001 From: Luke Bayes Date: Sun, 18 Feb 2024 22:16:04 -0500 Subject: [PATCH] Update CMakeLists.txt Quick patch to fix a build warning. When building from source with CMake, this warning showed up: ```bash CMake Warning (dev) at examples/ExampleBrowser/CMakeLists.txt:433 (ADD_EXECUTABLE): Policy CMP0115 is not set: Source file extensions must be explicit. Run "cmake --help-policy CMP0115" for policy details. Use the cmake_policy command to set the policy and suppress this warning. File: examples/Benchmarks/TaruData.h This warning is for project developers. Use -Wno-dev to suppress it. ``` Adding the .h to the reference mitigated this warning. --- examples/ExampleBrowser/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ExampleBrowser/CMakeLists.txt b/examples/ExampleBrowser/CMakeLists.txt index 6271ca9157..c690a6d88c 100644 --- a/examples/ExampleBrowser/CMakeLists.txt +++ b/examples/ExampleBrowser/CMakeLists.txt @@ -284,7 +284,7 @@ SET(BulletExampleBrowser_SRCS ../Benchmarks/BenchmarkDemo.cpp ../Benchmarks/BenchmarkDemo.h ../Benchmarks/landscapeData.h - ../Benchmarks/TaruData + ../Benchmarks/TaruData.h ../Raycast/RaytestDemo.cpp ../Importers/ImportBsp/BspConverter.h ../Importers/ImportBullet/SerializeSetup.cpp