Skip to content

Commit aff1b98

Browse files
committed
Update CMakeLists.txt for generating pkgIndex.tcl
1 parent 5371484 commit aff1b98

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ CMakeCache.txt
8080
install_manifest.txt
8181
CTestTestfile.cmake
8282

83+
# Generated files
84+
/library/pkgIndex.tcl
85+
8386
# Python packages
8487
/*.egg-info
8588
/build

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ ENDIF ( LOAD_GTK_DYNAMICALLY )
232232

233233
FILE ( WRITE library/pkgIndex.tcl
234234
"package ifneeded ttk::theme::gtkTtk ${PKG_VERSION} \\
235-
[list load [file join $dir lib${PKG_NAME}${PKG_VERSION}[info sharedlibextension]] gtkTtk]" )
235+
[list load [file join $dir lib${PKG_NAME}[info sharedlibextension]] gtkTtk]" )
236236

237237
INSTALL ( TARGETS ${PKG_TARGET_LIB_NAME}
238238
RUNTIME DESTINATION ${PKG_TARGET_LIB_NAME}

library/pkgIndex.tcl

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)