summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2024-02-14 13:38:21 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2024-02-14 22:11:04 (GMT)
commite47f36dbd8ec69f10428495840282d06c41dff75 (patch)
treee922e75ea0f18700d52c6a8cc9a3bf1856cd8803
parent8837ed7bc22f8ef98df805b5f0a8bfcd32208099 (diff)
downloadhdf5-e47f36dbd8ec69f10428495840282d06c41dff75.zip
hdf5-e47f36dbd8ec69f10428495840282d06c41dff75.tar.gz
hdf5-e47f36dbd8ec69f10428495840282d06c41dff75.tar.bz2
Add C in project line for CMake to fix #4012. (#4014)
-rw-r--r--HDF5Examples/C/CMakeLists.txt2
-rw-r--r--HDF5Examples/C/H5PAR/CMakeLists.txt2
-rw-r--r--HDF5Examples/C/Perf/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/HDF5Examples/C/CMakeLists.txt b/HDF5Examples/C/CMakeLists.txt
index 4ac8574..12882cf 100644
--- a/HDF5Examples/C/CMakeLists.txt
+++ b/HDF5Examples/C/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.12)
-project (HDF5Examples_C)
+project (HDF5Examples_C C)
#-----------------------------------------------------------------------------
# Build the C Examples
diff --git a/HDF5Examples/C/H5PAR/CMakeLists.txt b/HDF5Examples/C/H5PAR/CMakeLists.txt
index 6e569b4..9016220 100644
--- a/HDF5Examples/C/H5PAR/CMakeLists.txt
+++ b/HDF5Examples/C/H5PAR/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.12)
-PROJECT (H5PAR_C)
+project (H5PAR_C C)
#-----------------------------------------------------------------------------
# Define Sources
diff --git a/HDF5Examples/C/Perf/CMakeLists.txt b/HDF5Examples/C/Perf/CMakeLists.txt
index e41def2..66f9327 100644
--- a/HDF5Examples/C/Perf/CMakeLists.txt
+++ b/HDF5Examples/C/Perf/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.12)
-PROJECT (HDF5Examples_C_PERFORM)
+project (HDF5Examples_C_PERFORM C)
#-----------------------------------------------------------------------------
# Define Sources