Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
dbfbb78d
Commit
dbfbb78d
authored
Apr 05, 2009
by
Martin Szulecki
Committed by
Jonathan Beck
Apr 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix install libdir for 64bit platform.
parent
b9d27ab3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
CMakeLists.txt
CMakeLists.txt
+5
-1
libplist.pc.in
libplist.pc.in
+2
-2
CMakeLists.txt
src/CMakeLists.txt
+2
-2
CMakeLists.txt
swig/CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
dbfbb78d
...
...
@@ -11,6 +11,10 @@ SET( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_SOURCE_DIR}/cmake/modul
cmake_minimum_required
(
VERSION 2.6
)
IF
(
NOT DEFINED CMAKE_INSTALL_LIBDIR
)
SET
(
CMAKE_INSTALL_LIBDIR lib CACHE PATH
"Output directory for libraries"
)
ENDIF
(
NOT DEFINED CMAKE_INSTALL_LIBDIR
)
FIND_PACKAGE
(
LibXml2 REQUIRED
)
FIND_PACKAGE
(
GLIB2 REQUIRED
)
FIND_PACKAGE
(
SWIG
)
...
...
@@ -36,7 +40,7 @@ ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/c
########## PkgConfig ############################
CONFIGURE_FILE
(
"libplist.pc.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libplist.pc"
)
########## INSTALL ##############################
INSTALL
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libplist.pc"
DESTINATION
${
CMAKE_INSTALL_
PREFIX
}
/lib
/pkgconfig/
)
INSTALL
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libplist.pc"
DESTINATION
${
CMAKE_INSTALL_
LIBDIR
}
/pkgconfig/
)
########## CPack ################################
INCLUDE
(
libplistPackaging
)
...
...
libplist.pc.in
View file @
dbfbb78d
prefix=${CMAKE_INSTALL_PREFIX}
exec_prefix=${CMAKE_INSTALL_PREFIX}
libdir=${CMAKE_INSTALL_PREFIX}/
lib
libdir=${CMAKE_INSTALL_PREFIX}/
${CMAKE_INSTALL_LIBDIR}
includedir=${CMAKE_INSTALL_PREFIX}/include
Name: libplist
Description: A library to handle Apple Property Lists whereas they are binary or XML
Version: ${LIBPLIST_VERSION}
Requires: libxml-2.0 >= 2.6.30 glib-2.0 >= 2.14.1
Libs: -L${CMAKE_INSTALL_PREFIX}/
lib
-lplist
Libs: -L${CMAKE_INSTALL_PREFIX}/
${CMAKE_INSTALL_LIBDIR}
-lplist
Cflags: -I${CMAKE_INSTALL_PREFIX}/include
src/CMakeLists.txt
View file @
dbfbb78d
...
...
@@ -14,5 +14,5 @@ SET_TARGET_PROPERTIES( plist PROPERTIES SOVERSION ${LIBPLIST_SOVERSION} )
INSTALL
(
TARGETS plist
RUNTIME DESTINATION bin COMPONENT lib
LIBRARY DESTINATION
lib
COMPONENT dev
ARCHIVE DESTINATION
lib
COMPONENT dev
)
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
COMPONENT dev
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
COMPONENT dev
)
swig/CMakeLists.txt
View file @
dbfbb78d
...
...
@@ -8,9 +8,9 @@ SWIG_ADD_MODULE( PList python plist.i )
SWIG_LINK_LIBRARIES
(
PList plist
${
PYTHON_LIBRARIES
}
)
INSTALL
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/_PList
${
CMAKE_SHARED_MODULE_SUFFIX
}
DESTINATION
lib
/python
${
PYTHON_VERSION
}
/site-packages/libplist/
)
DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/python
${
PYTHON_VERSION
}
/site-packages/libplist/
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/__init__.py
DESTINATION
lib
/python
${
PYTHON_VERSION
}
/site-packages/libplist/
)
DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/python
${
PYTHON_VERSION
}
/site-packages/libplist/
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/plist.i
DESTINATION include/plist/swig COMPONENT dev
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment