Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
Seminar-HFO
Commits
1e97fbe6
Commit
1e97fbe6
authored
Feb 02, 2016
by
Matthew Hausknecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only install team binaries in linux.
parent
2cb258b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
CMakeLists.txt
CMakeLists.txt
+14
-10
No files found.
CMakeLists.txt
View file @
1e97fbe6
...
@@ -46,6 +46,7 @@ if(BUILD_SOCCERWINDOW)
...
@@ -46,6 +46,7 @@ if(BUILD_SOCCERWINDOW)
endif
()
endif
()
if
(
INSTALL_ADDITIONAL_TEAMS
)
if
(
INSTALL_ADDITIONAL_TEAMS
)
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Linux"
)
ExternalProject_Add
(
hfo-teams
ExternalProject_Add
(
hfo-teams
GIT_REPOSITORY
"https://github.com/mhauskn/hfo-teams.git"
GIT_REPOSITORY
"https://github.com/mhauskn/hfo-teams.git"
GIT_TAG
"master"
GIT_TAG
"master"
...
@@ -56,6 +57,9 @@ if(INSTALL_ADDITIONAL_TEAMS)
...
@@ -56,6 +57,9 @@ if(INSTALL_ADDITIONAL_TEAMS)
ExternalProject_Get_Property
(
hfo-teams SOURCE_DIR
)
ExternalProject_Get_Property
(
hfo-teams SOURCE_DIR
)
set
(
TEAMS_SOURCE_DIR
${
SOURCE_DIR
}
/teams
)
set
(
TEAMS_SOURCE_DIR
${
SOURCE_DIR
}
/teams
)
install
(
DIRECTORY
${
TEAMS_SOURCE_DIR
}
DESTINATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/bin USE_SOURCE_PERMISSIONS
)
install
(
DIRECTORY
${
TEAMS_SOURCE_DIR
}
DESTINATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/bin USE_SOURCE_PERMISSIONS
)
else
()
MESSAGE
(
"Additional team binaries only supported in Linux. Skipping Install."
)
endif
()
endif
()
endif
()
set
(
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
set
(
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment