Skip to content

Commit

Permalink
Clarify better the C compiler requirement
Browse files Browse the repository at this point in the history
Alternatively, use `enable_language()`.
  • Loading branch information
PeterBowman authored Jul 30, 2024
1 parent 16cb277 commit b969a83
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.16..3.28)

# 'C' required by prograns/voxelOccupancyDetection in Ubuntu 24.04
# see https://github.com/roboticslab-uc3m/vision/issues/106
# 'C' required by target MPI::MPI_C via PCLConfig.cmake (affects Ubuntu 24.04).
project(ROBOTICSLAB_VISION LANGUAGES C CXX)

# Let the user specify a configuration (only single-config generators).
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleArucoDetector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleArucoDetector LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleColorRegionDetector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleColorRegionDetector LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleDnnDetector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleDnnDetector LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleHaarDetector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleHaarDetector LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleMeshFromCloud/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleMeshFromCloud LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleMeshFromLiveRGBD/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleMeshFromLiveRGBD LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleProcessCloud/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleProcessCloud LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleQrDetector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleQrDetector LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleRemoteGrabber/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleRemoteGrabber LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/exampleRemoteRGBDSensor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleRemoteRGBDSensor LANGUAGES CXX)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16..3.28)

project(exampleSceneReconstructionClient LANGUAGES CXX)

Expand Down

0 comments on commit b969a83

Please sign in to comment.