Skip to content
Permalink
Browse files

fix #5490 again

  • Loading branch information
jef-n committed Jun 23, 2012
1 parent 10d4dea commit 52158fbd89d6f0420fce8577be69a8c817efec20
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/crssync/main.cpp
@@ -40,6 +40,12 @@ int main( int argc, char ** argv )
{
QgsApplication a( argc, argv, false );

if ( !QgsApplication::isRunningFromBuildDir() )
{
char* prefixPath = getenv( "QGIS_PREFIX_PATH" );
QgsApplication::setPrefixPath( prefixPath ? prefixPath : CMAKE_INSTALL_PREFIX, TRUE );
}

std::cout << "Synchronizing CRS database with PROJ definitions." << std::endl;

CPLPushErrorHandler( showError );

0 comments on commit 52158fb

Please sign in to comment.
You can’t perform that action at this time.