Skip to content

Commit

Permalink
Merge pull request #19 from phvu/clang-compile-error
Browse files Browse the repository at this point in the history
Fix compile error with clang 6.0 on FreeBSD
  • Loading branch information
tulequ authored Mar 11, 2019
2 parents 2a4f630 + a8a9e28 commit 46b5b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ set(LIBEXECDIR "${CMAKE_INSTALL_FULL_LIBEXECDIR}" CACHE string "where to install
set(PKGDATADIR "${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}")
set(LOCALEDIR "${CMAKE_INSTALL_FULL_LOCALEDIR}")

set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L ${LIBEXECDIR}")

add_definitions(
-DPACKAGE_NAME="${PROJECT_NAME}"
-DGETTEXT_PACKAGE="${PROJECT_NAME}"
Expand Down
1 change: 1 addition & 0 deletions src/config/unikey_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define __IBUS_UNIKEY_CONFIG_H__

#include <map>
#include <string>
#include <gio/gio.h>

#include "ukengine.h"
Expand Down

0 comments on commit 46b5b9e

Please sign in to comment.