aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLibtermkey.cmake
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2015-04-16 10:01:08 +0100
committerFlorian Walch <florian@fwalch.com>2015-05-15 17:55:01 +0300
commitcca32e64cc897830bc0419c01413492748353a0b (patch)
tree8dffaaa92ed996a0c9e4bfc3b5d560888c8175c8 /third-party/cmake/BuildLibtermkey.cmake
parent73dbd1428374148676f208fea5092f0ccdd92089 (diff)
downloadrneovim-cca32e64cc897830bc0419c01413492748353a0b.tar.gz
rneovim-cca32e64cc897830bc0419c01413492748353a0b.tar.bz2
rneovim-cca32e64cc897830bc0419c01413492748353a0b.zip
CMake: Build third-party deps in Windows
- Update recipes to build with MSVC or cross compile in Unix with Mingw - For recipes that need to be reused, wrap recipe in CMake function using cmake_parse_arguments - New directory .deps/host is the install root for HOST targets, the old .deps/usr is used for TARGET - In windows disable builds for terminal libraries and jemalloc - Added cmake script CopyFilesGlob.cmake to copy files using glob cmake -DFROM_GLOB=*.h -DTO=/usr/include -P CopyFilesGlob.cmake - New CMake variables HOSTDEPS_* can be used in cross compile recipes. Except when the target is UNIX, since that would break 32bit builds in 64bit Unix systems using the Travis 32bit toolchain
Diffstat (limited to 'third-party/cmake/BuildLibtermkey.cmake')
-rw-r--r--third-party/cmake/BuildLibtermkey.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLibtermkey.cmake b/third-party/cmake/BuildLibtermkey.cmake
index 882082d349..874b7df104 100644
--- a/third-party/cmake/BuildLibtermkey.cmake
+++ b/third-party/cmake/BuildLibtermkey.cmake
@@ -1,3 +1,7 @@
+if(WIN32)
+ message(STATUS "Building libtermkey in Windows is not supported (skipping)")
+ return()
+endif()
find_package(PkgConfig REQUIRED)
ExternalProject_Add(libtermkey