dont return a system path if cmake's 'WITH_INSTALL_PORTABLE' is enabled. this way portable builds wont find scripts in /usr/share.

This commit is contained in:
Campbell Barton
2011-03-25 05:23:58 +00:00
parent 5f8fa29755
commit 06b04fa886
5 changed files with 10 additions and 16 deletions

View File

@@ -111,11 +111,7 @@ endif()
# 3D format support
# disable opencollada on non-apple unix because opencollada has no package for debian
if(UNIX AND NOT APPLE)
option(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.org)" OFF)
else()
option(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.org)" OFF)
endif()
option(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.org)" OFF)
# Sound output
option(WITH_SDL "Enable SDL for sound and joystick support" ON)