summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2024-02-14 13:38:21 (GMT)
committerGitHub <noreply@github.com>2024-02-14 13:38:21 (GMT)
commit1414693350c1f972bfffb6dc9ec4b01cf92ee738 (patch)
tree74232fd665cd77462427c1bc365bc1f671afae0e
parent14ed93e749d1b12acc9a43ba41911a8475366f60 (diff)
downloadhdf5-1414693350c1f972bfffb6dc9ec4b01cf92ee738.zip
hdf5-1414693350c1f972bfffb6dc9ec4b01cf92ee738.tar.gz
hdf5-1414693350c1f972bfffb6dc9ec4b01cf92ee738.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