Skip to content

Commit e9d5d83

Browse files
authored
Find jetty packages with explicit version (#1221)
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent 7ac8abc commit e9d5d83

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ project(gz-rendering VERSION 10.0.0)
99
# Find gz-cmake
1010
#============================================================================
1111
# If you get an error at this line, you need to install gz-cmake
12-
find_package(gz-cmake REQUIRED)
12+
find_package(gz-cmake 5 REQUIRED)
1313

1414
#============================================================================
1515
# Set up the project
@@ -31,20 +31,20 @@ option(USE_OGRE2_OVERLAY "Enable OGRE2 Overlay support" ON)
3131

3232
#--------------------------------------
3333
# Find gz-math
34-
gz_find_package(gz-math REQUIRED COMPONENTS eigen3)
34+
gz_find_package(gz-math VERSION 9 REQUIRED COMPONENTS eigen3)
3535

3636
#--------------------------------------
3737
# Find gz-common
38-
gz_find_package(gz-common REQUIRED
38+
gz_find_package(gz-common VERSION 7 REQUIRED
3939
COMPONENTS graphics events geospatial)
4040

4141
#--------------------------------------
4242
# Find gz-plugin
43-
gz_find_package(gz-plugin REQUIRED COMPONENTS all)
43+
gz_find_package(gz-plugin VERSION 4 REQUIRED COMPONENTS all)
4444

4545
#--------------------------------------
4646
# Find gz-utils
47-
gz_find_package(gz-utils REQUIRED)
47+
gz_find_package(gz-utils VERSION 4 REQUIRED)
4848

4949
#--------------------------------------
5050
# Find OpenGL

0 commit comments

Comments
 (0)