|
Line 16
Link Here
|
| 16 |
IUSE="" |
16 |
IUSE="debug" |
| 17 |
-- |
|
|
|
Lines 33-40
Link Here
|
| 33 |
cmake \ |
33 |
local myconf="-DCMAKE_INSTALL_PREFIX=/usr \ |
| 34 |
-DCMAKE_INSTALL_PREFIX=/usr \ |
34 |
-DCMAKE_BUILD_TYPE=Release \ |
| 35 |
-DCMAKE_BUILD_TYPE=Release \ |
35 |
-DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \ |
| 36 |
-DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \ |
36 |
-DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \ |
| 37 |
-DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \ |
37 |
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \ |
| 38 |
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \ |
38 |
-DLIB_INSTALL_DIR=/usr/$(get_libdir)" |
| 39 |
-DLIB_INSTALL_DIR=/usr/$(get_libdir) \ |
39 |
|
| 40 |
|| die |
40 |
if use debug ; then |
| 41 |
-- |
41 |
myconf="${myconf} -DCMAKE_BUILD_TYPE=Debug" |
|
|
42 |
fi |
| 43 |
|
| 44 |
cmake ${myconf} || die |