summaryrefslogtreecommitdiff
path: root/panel/CMakeLists.txt
diff options
Diffstat (limited to 'panel/CMakeLists.txt')
-rw-r--r--panel/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/panel/CMakeLists.txt b/panel/CMakeLists.txt
index b9a67f51a..8ee54da59 100644
--- a/panel/CMakeLists.txt
+++ b/panel/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
@@ -45,5 +43,4 @@ add_dependencies (panel-lib unity-core-${UNITY_API_VERSION} unity-shared)
# Standalone variant
#
add_executable (panel StandalonePanel.cpp)
-add_dependencies (panel panel-lib)
target_link_libraries (panel panel-lib unity-shared unity-shared-standalone)