Disable INSTALL_SD_CMAKE() for non-Linux platforms as it installs to the source directory

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7528 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2021-05-25 17:15:54 +00:00
parent 777efbbcb7
commit 0a0bc41f8a
1 changed files with 4 additions and 2 deletions

View File

@ -205,8 +205,10 @@ IF(MSVC)
ENDIF(MSVC)
# Usefull for using an installation of SD as a robot development framework without building it.
INSTALL_SD_CMAKE()
# Useful for using an installation of SD as a robot development framework without building it.
IF(LINUX)
INSTALL_SD_CMAKE()
ENDIF(LINUX)
# Must be the last ADD_SUBDIRECTORY for FIXUP_BUNDLE to work
ADD_SUBDIRECTORY(packaging)