Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
SET (TASK_MAN1DIR share/man/man1 CACHE STRING "Installation directory for man pages, section 1") |
9 |
SET (TASK_MAN1DIR share/man/man1 CACHE STRING "Installation directory for man pages, section 1") |
10 |
SET (TASK_MAN5DIR share/man/man5 CACHE STRING "Installation directory for man pages, section 5") |
10 |
SET (TASK_MAN5DIR share/man/man5 CACHE STRING "Installation directory for man pages, section 5") |
11 |
SET (TASK_DOCDIR share/doc/task CACHE STRING "Installation directory for doc files") |
11 |
SET (TASK_DOCDIR share/doc/taskwarrior-${PROJECT_VERSION} CACHE STRING "Installation directory for doc files") |
12 |
SET (TASK_BINDIR bin CACHE STRING "Installation directory for the binary") |
12 |
SET (TASK_BINDIR bin CACHE STRING "Installation directory for the binary") |
13 |
|
13 |
|
14 |
message ("-- Looking for SHA1 references") |
14 |
message ("-- Looking for SHA1 references") |
Lines 30-35
Link Here
|
30 |
set (PACKAGE_VERSION "${VERSION}") |
30 |
set (PACKAGE_VERSION "${VERSION}") |
31 |
set (PACKAGE_STRING "${PACKAGE} ${VERSION}") |
31 |
set (PACKAGE_STRING "${PACKAGE} ${VERSION}") |
32 |
|
32 |
|
|
|
33 |
option(LUA "Suport for lua scripts") |
34 |
if(LUA) |
33 |
message ("-- Looking for Lua51") |
35 |
message ("-- Looking for Lua51") |
34 |
find_package (Lua51) |
36 |
find_package (Lua51) |
35 |
if (LUA51_FOUND) |
37 |
if (LUA51_FOUND) |
Lines 38-43
Link Here
|
38 |
set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${LUA_INCLUDE_DIR}) |
40 |
set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${LUA_INCLUDE_DIR}) |
39 |
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${LUA_LIBRARIES}) |
41 |
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${LUA_LIBRARIES}) |
40 |
endif (LUA51_FOUND) |
42 |
endif (LUA51_FOUND) |
|
|
43 |
endif(LUA) |
41 |
|
44 |
|
42 |
message ("-- Looking for pthread") |
45 |
message ("-- Looking for pthread") |
43 |
find_path (PTHREAD_INCLUDE_DIR pthread.h) |
46 |
find_path (PTHREAD_INCLUDE_DIR pthread.h) |