diff options
| author | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-11-22 10:31:20 +0100 |
|---|---|---|
| committer | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-11-22 10:31:20 +0100 |
| commit | fe6bb4a69f67a621f0b7821eeef7b1347be3fce2 (patch) | |
| tree | 79b70e4a873f9e7a59f794d4583a10656f632891 | |
| parent | 31db3e6a75b98d64c52fcf989bb09e7486caa1fd (diff) | |
Fix build on Mac OS X
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | vterm-module.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b8953e4..78b1393 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ include(ExternalProject) project(emacs-libvterm C) -add_library(vterm-module SHARED vterm-module.c utf8.c elisp.c) +add_library(vterm-module MODULE vterm-module.c utf8.c elisp.c) set_property(TARGET vterm-module PROPERTY POSITION_INDEPENDENT_CODE ON) set_target_properties(vterm-module PROPERTIES PREFIX "") set_target_properties(vterm-module PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}) diff --git a/vterm-module.h b/vterm-module.h index b971592..477ad01 100644 --- a/vterm-module.h +++ b/vterm-module.h @@ -3,6 +3,7 @@ #include <emacs-module.h> #include <inttypes.h> +#include <pthread.h> #include <stdbool.h> #include <vterm.h> |
