Commit 1e97fbe6 authored by Matthew Hausknecht's avatar Matthew Hausknecht

Only install team binaries in linux.

parent 2cb258b2
......@@ -46,16 +46,20 @@ if(BUILD_SOCCERWINDOW)
endif()
if(INSTALL_ADDITIONAL_TEAMS)
ExternalProject_Add(hfo-teams
GIT_REPOSITORY "https://github.com/mhauskn/hfo-teams.git"
GIT_TAG "master"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
UPDATE_COMMAND ""
INSTALL_COMMAND "")
ExternalProject_Get_Property(hfo-teams SOURCE_DIR)
set(TEAMS_SOURCE_DIR ${SOURCE_DIR}/teams)
install(DIRECTORY ${TEAMS_SOURCE_DIR} DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/bin USE_SOURCE_PERMISSIONS)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
ExternalProject_Add(hfo-teams
GIT_REPOSITORY "https://github.com/mhauskn/hfo-teams.git"
GIT_TAG "master"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
UPDATE_COMMAND ""
INSTALL_COMMAND "")
ExternalProject_Get_Property(hfo-teams SOURCE_DIR)
set(TEAMS_SOURCE_DIR ${SOURCE_DIR}/teams)
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()
set(SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment