This file is part of MXE. See LICENSE.md for licensing information. Contains ad hoc patches for cross building. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: "fix@me" Date: Wed, 21 Oct 2015 20:51:02 +1100 Subject: [PATCH 1/1] add install components diff --git a/CMakeLists.txt b/CMakeLists.txt index 1111111..2222222 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)