Last change
on this file since 5989 was
5019,
checked in by ldelgass, 10 years ago
|
Workaround for problem with Img package: ensure the Img package is loaded
before the RapptureGUI package
|
File size:
539 bytes
|
Line | |
---|
1 | # HACK: The Img library needs to be loaded before RapptureGUI |
---|
2 | # to avoid conflicts with libjpeg, libtiff, etc. |
---|
3 | package ifneeded RapptureGUI @PACKAGE_VERSION@ [format { |
---|
4 | package require Img |
---|
5 | set dir [file normalize "%s"] |
---|
6 | set version @PACKAGE_VERSION@ |
---|
7 | lappend auto_path [file join $dir scripts] |
---|
8 | namespace eval RapptureGUI { |
---|
9 | variable version $version |
---|
10 | variable library $dir |
---|
11 | } |
---|
12 | set ext [info sharedlibextension] |
---|
13 | load [file join $dir "RapptureGUI${version}${ext}"] |
---|
14 | package provide RapptureGUI $version |
---|
15 | } $dir] |
---|
Note: See
TracBrowser
for help on using the repository browser.