diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-10-21 10:31:26 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-10-21 10:31:37 (GMT) |
commit | f9a95ca5565c3ec72d346d1fe0fb5299ce7f4fd7 (patch) | |
tree | fa893f40eac4b185140014fb856c907352c88edd /src/liblaxjson-1-fixes.patch | |
parent | db24d5c6866ee5226ec6bad31ddc2844fc4a49aa (diff) | |
download | mxe-f9a95ca5565c3ec72d346d1fe0fb5299ce7f4fd7.zip mxe-f9a95ca5565c3ec72d346d1fe0fb5299ce7f4fd7.tar.gz mxe-f9a95ca5565c3ec72d346d1fe0fb5299ce7f4fd7.tar.bz2 |
liblaxjson: update and use cmake build/install commands
still needs some work to provide static/shared as an option
Diffstat (limited to 'src/liblaxjson-1-fixes.patch')
-rw-r--r-- | src/liblaxjson-1-fixes.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/liblaxjson-1-fixes.patch b/src/liblaxjson-1-fixes.patch new file mode 100644 index 0000000..bf1f046 --- /dev/null +++ b/src/liblaxjson-1-fixes.patch @@ -0,0 +1,29 @@ +This file is part of MXE. +See index.html for further information. + +Contains ad hoc patches for cross building. + +From e11d3cd0b909b21c97e6a0e3379d4ad42cc5c537 Mon Sep 17 00:00:00 2001 +From: MXE +Date: Wed, 21 Oct 2015 20:51:02 +1100 +Subject: [PATCH] add install components + + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f008f13..cf89967 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,5 +39,8 @@ set_target_properties(primitives_test PROPERTIES + target_link_libraries(primitives_test laxjson) + add_test(DetectPrimitives primitives_test) + +-install(FILES "include/laxjson.h" DESTINATION include) +-install(TARGETS laxjson laxjson_static DESTINATION lib) ++install(FILES "include/laxjson.h" COMPONENT header DESTINATION include) ++install(TARGETS laxjson_static COMPONENT static-lib DESTINATION lib) ++install(TARGETS laxjson COMPONENT shared-lib ++ DESTINATION lib ++ RUNTIME DESTINATION bin) +-- +2.3.8 (Apple Git-58) + |