mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 19:43:23 +08:00
CPack: remove accidental changes
Remove changes accidentally included in commit b58de9fe
(CPack: allow
packaging of empty directories, 2015-09-22).
This commit is contained in:
@@ -368,7 +368,6 @@ int cmCPackGenerator::InstallProjectViaInstalledDirectories(
|
|||||||
"- Install directory: " << top << std::endl);
|
"- Install directory: " << top << std::endl);
|
||||||
gl.RecurseOn();
|
gl.RecurseOn();
|
||||||
gl.SetRecurseListDirs(true);
|
gl.SetRecurseListDirs(true);
|
||||||
// gl.SetRecurseThroughSymlinks(false);
|
|
||||||
if ( !gl.FindFiles(findExpr) )
|
if ( !gl.FindFiles(findExpr) )
|
||||||
{
|
{
|
||||||
cmCPackLogger(cmCPackLog::LOG_ERROR,
|
cmCPackLogger(cmCPackLog::LOG_ERROR,
|
||||||
|
@@ -8,5 +8,5 @@ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${GENERATOR_TYPE}/${RunCMake_TEST}-specif
|
|||||||
include("${GENERATOR_TYPE}/${RunCMake_TEST}-specifics.cmake")
|
include("${GENERATOR_TYPE}/${RunCMake_TEST}-specifics.cmake")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CPACK_GENERATOR "${GENERATOR_TYPE};TGZ")
|
set(CPACK_GENERATOR "${GENERATOR_TYPE}")
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
Reference in New Issue
Block a user