missed removing WITH_INSTALL reference.

This commit is contained in:
Campbell Barton
2011-03-17 09:09:48 +00:00
parent 33047585ea
commit 58c8dca7a6

View File

@@ -191,9 +191,8 @@ else()
set(TARGETDIR ${EXECUTABLE_OUTPUT_PATH})
endif()
if(WITH_INSTALL)
if(UNIX AND NOT APPLE)
# install target
if(UNIX AND NOT APPLE)
if(WITH_INSTALL_PORTABLE)
set(TARGETDIR_VER ${TARGETDIR}/${BLENDER_VERSION})
@@ -333,7 +332,7 @@ if(WITH_INSTALL)
# install(CODE "execute_process(COMMAND find ${TARGETDIR}/${BLENDER_VERSION}/python/lib/ -name '*.so' -exec strip -s {} '\;')")
endif()
endif()
elseif(WIN32)
elseif(WIN32)
set(TARGETDIR_VER ${TARGETDIR}/${BLENDER_VERSION})
@@ -527,7 +526,7 @@ if(WITH_INSTALL)
endif()
endif()
elseif(APPLE)
elseif(APPLE)
set(SOURCEDIR ${CMAKE_SOURCE_DIR}/source/darwin/blender.app)
set(SOURCEINFO ${SOURCEDIR}/Contents/Info.plist)
set(TARGETDIR_VER ${TARGETDIR}/blender.app/Contents/MacOS/${BLENDER_VERSION})
@@ -635,8 +634,6 @@ if(WITH_INSTALL)
\${TARGETDIR_VER}
)
endif()
endif()
endif()
add_dependencies(blender makesdna)