summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-02-18 15:46:49 +0000
committerTom Hacohen <tom@stosb.com>2013-02-18 15:46:49 +0000
commitcd4a7e3fd6f38f31a12780ac5a957145b64d7c40 (patch)
treed4ea69370621f7fa6e8bc3d275ab29ed5914dead
parent57c18ab8d76e8bee92c05c7b5dc3e4b701115a9a (diff)
Added a test for bc.HEADmaster
-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")