Created
July 16, 2013 02:10
-
-
Save aktowns/6005241 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libplist-1.10 2/src/CMakeLists.txt b/libplist-1.10/src/CMakeLists.txt | |
index c4f5483..384f616 100644 | |
--- a/libplist-1.10 2/src/CMakeLists.txt | |
+++ b/libplist-1.10/src/CMakeLists.txt | |
@@ -45,6 +45,16 @@ if(APPLE) | |
SET_TARGET_PROPERTIES( plist PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib") | |
endif() | |
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPLIST_BYTE_ORDER=${PLIST_BYTE_ORDER}") | |
+ADD_LIBRARY( pliststatic STATIC ${libplist_SRC} ${libcnary_object_files} ) | |
+TARGET_LINK_LIBRARIES( pliststatic ${LIBXML2_LIBRARIES} ) | |
+SET_TARGET_PROPERTIES( pliststatic PROPERTIES VERSION ${LIBPLIST_LIBVERSION} ) | |
+SET_TARGET_PROPERTIES( pliststatic PROPERTIES SOVERSION ${LIBPLIST_SOVERSION} ) | |
+if(APPLE) | |
+ SET_TARGET_PROPERTIES( pliststatic PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib") | |
+endif() | |
+SET_TARGET_PROPERTIES(pliststatic PROPERTIES OUTPUT_NAME plist) | |
+ | |
ADD_LIBRARY( plist++ SHARED ${libplist++_SRC} ) | |
TARGET_LINK_LIBRARIES( plist++ plist ) | |
SET_TARGET_PROPERTIES( plist++ PROPERTIES VERSION ${LIBPLIST_LIBVERSION} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment