Skip to content

Commit bb8e47f

Browse files
committedJun 16, 2013
Change build path.txt to be more unique
1 parent e3608db commit bb8e47f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${QGIS_OUTPUT_DIRECTORY}/${QGIS_LIB_SUBDIR})
528528

529529
# write a marker with source directory path into the output's bin directory
530530
# if run from the build directory QGIS will detect it and alter the paths
531-
FILE(WRITE ${QGIS_OUTPUT_DIRECTORY}/${QGIS_BIN_SUBDIR}/path.txt "${CMAKE_SOURCE_DIR}\n${QGIS_OUTPUT_DIRECTORY}")
531+
FILE(WRITE ${QGIS_OUTPUT_DIRECTORY}/${QGIS_BIN_SUBDIR}/qgisbuildpath.txt "${CMAKE_SOURCE_DIR}\n${QGIS_OUTPUT_DIRECTORY}")
532532

533533
# manual page - makes sense only on unix systems
534534
IF (UNIX AND NOT APPLE)

‎src/core/qgsapplication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void QgsApplication::init( QString customConfigPath )
9696
// "/../../.." is for Mac bundled app in build directory
9797
foreach ( QString path, QStringList() << "" << "/.." << "/bin" << "/../../.." )
9898
{
99-
f.setFileName( prefixPath + path + "/path.txt" );
99+
f.setFileName( prefixPath + path + "/qgisbuildpath.txt" );
100100
if ( f.exists() )
101101
break;
102102
}

0 commit comments

Comments
 (0)
Please sign in to comment.