summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c060b36..abe823c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,12 @@ find_package(Ecore REQUIRED)
15find_package(Evas REQUIRED) 15find_package(Evas REQUIRED)
16find_package(Elementary REQUIRED) 16find_package(Elementary REQUIRED)
17 17
18# Search for bc.
19find_file(BC_PATH "bc")
20if (NOT BC_PATH)
21 message(FATAL_ERROR "bc not found.")
22endif()
23
18ADD_DEFINITIONS(-DPACKAGE_BIN_DIR="${CMAKE_INSTALL_PREFIX}/bin" 24ADD_DEFINITIONS(-DPACKAGE_BIN_DIR="${CMAKE_INSTALL_PREFIX}/bin"
19 -DPACKAGE_DATA_DIR="${CMAKE_INSTALL_PREFIX}/share/${CMAKE_PROJECT_NAME}" 25 -DPACKAGE_DATA_DIR="${CMAKE_INSTALL_PREFIX}/share/${CMAKE_PROJECT_NAME}"
20 -DPACKAGE_LIB_DIR="${CMAKE_INSTALL_PREFIX}/lib") 26 -DPACKAGE_LIB_DIR="${CMAKE_INSTALL_PREFIX}/lib")