missed removing WITH_INSTALL reference.
This commit is contained in:
@@ -191,9 +191,8 @@ else()
|
|||||||
set(TARGETDIR ${EXECUTABLE_OUTPUT_PATH})
|
set(TARGETDIR ${EXECUTABLE_OUTPUT_PATH})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_INSTALL)
|
# install target
|
||||||
|
if(UNIX AND NOT APPLE)
|
||||||
if(UNIX AND NOT APPLE)
|
|
||||||
|
|
||||||
if(WITH_INSTALL_PORTABLE)
|
if(WITH_INSTALL_PORTABLE)
|
||||||
set(TARGETDIR_VER ${TARGETDIR}/${BLENDER_VERSION})
|
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 {} '\;')")
|
# install(CODE "execute_process(COMMAND find ${TARGETDIR}/${BLENDER_VERSION}/python/lib/ -name '*.so' -exec strip -s {} '\;')")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
|
|
||||||
set(TARGETDIR_VER ${TARGETDIR}/${BLENDER_VERSION})
|
set(TARGETDIR_VER ${TARGETDIR}/${BLENDER_VERSION})
|
||||||
|
|
||||||
@@ -527,7 +526,7 @@ if(WITH_INSTALL)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set(SOURCEDIR ${CMAKE_SOURCE_DIR}/source/darwin/blender.app)
|
set(SOURCEDIR ${CMAKE_SOURCE_DIR}/source/darwin/blender.app)
|
||||||
set(SOURCEINFO ${SOURCEDIR}/Contents/Info.plist)
|
set(SOURCEINFO ${SOURCEDIR}/Contents/Info.plist)
|
||||||
set(TARGETDIR_VER ${TARGETDIR}/blender.app/Contents/MacOS/${BLENDER_VERSION})
|
set(TARGETDIR_VER ${TARGETDIR}/blender.app/Contents/MacOS/${BLENDER_VERSION})
|
||||||
@@ -635,8 +634,6 @@ if(WITH_INSTALL)
|
|||||||
\${TARGETDIR_VER}
|
\${TARGETDIR_VER}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_dependencies(blender makesdna)
|
add_dependencies(blender makesdna)
|
||||||
|
Reference in New Issue
Block a user