summaryrefslogtreecommitdiff
path: root/hud/CMakeLists.txt
diff options
Diffstat (limited to 'hud/CMakeLists.txt')
-rw-r--r--hud/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/hud/CMakeLists.txt b/hud/CMakeLists.txt
index 9ad2f34b3..8628ac193 100644
--- a/hud/CMakeLists.txt
+++ b/hud/CMakeLists.txt
@@ -5,8 +5,6 @@ find_package (PkgConfig)
set (CFLAGS
${CACHED_UNITY_DEPS_CFLAGS}
${CACHED_UNITY_DEPS_CFLAGS_OTHER}
- "-DGETTEXT_PACKAGE=\"unity\""
- "-I${CMAKE_CURRENT_BINARY_DIR}"
)
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "armv7l")
@@ -22,7 +20,7 @@ link_libraries (${LIBS})
set (LIB_PATHS ${CACHED_UNITY_DEPS_LIBRARY_DIRS})
link_directories (${CMAKE_BINARY_DIR}/UnityCore ${LIB_PATHS})
-include_directories (. .. ../services ../UnityCore ${UNITY_SRC} ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
+include_directories (.. ../services ../UnityCore ${UNITY_SRC} ${CMAKE_BINARY_DIR})
#
# Headers & Sources
@@ -44,5 +42,4 @@ add_dependencies (hud-lib unity-core-${UNITY_API_VERSION} unity-shared)
# Standalone variant
#
add_executable (hud StandaloneHud.cpp)
-add_dependencies (hud hud-lib)
target_link_libraries (hud hud-lib unity-shared)