Lines 33-38
Link Here
|
33 |
# search types. |
33 |
# search types. |
34 |
LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH |
34 |
LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH |
35 |
# Standard |
35 |
# Standard |
|
|
36 |
@GENTOO_PORTAGE_EPREFIX@usr/local @GENTOO_PORTAGE_EPREFIX@usr @GENTOO_PORTAGE_EPREFIX@ |
36 |
/usr/local /usr / |
37 |
/usr/local /usr / |
37 |
|
38 |
|
38 |
# CMake install location |
39 |
# CMake install location |
Lines 44-86
Link Here
|
44 |
|
45 |
|
45 |
# List common include file locations not under the common prefixes. |
46 |
# List common include file locations not under the common prefixes. |
46 |
LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH |
47 |
LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH |
47 |
# Windows API on Cygwin |
48 |
@GENTOO_PORTAGE_EPREFIX@usr/include |
48 |
/usr/include/w32api |
|
|
49 |
|
50 |
# X11 |
51 |
/usr/X11R6/include /usr/include/X11 |
52 |
|
53 |
# Other |
54 |
/usr/pkg/include |
55 |
/opt/csw/include /opt/include |
56 |
/usr/openwin/include |
57 |
) |
49 |
) |
58 |
|
50 |
|
59 |
LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH |
51 |
LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH |
60 |
# Windows API on Cygwin |
52 |
@GENTOO_PORTAGE_GCCLIBDIR@/gcc |
61 |
/usr/lib/w32api |
53 |
@GENTOO_PORTAGE_GCCLIBDIR@ |
62 |
|
54 |
@GENTOO_PORTAGE_EPREFIX@usr/lib64 |
63 |
# X11 |
55 |
@GENTOO_PORTAGE_EPREFIX@usr/lib32 |
64 |
/usr/X11R6/lib /usr/lib/X11 |
56 |
@GENTOO_PORTAGE_EPREFIX@usr/lib |
65 |
|
57 |
@GENTOO_PORTAGE_EPREFIX@lib |
66 |
# Other |
|
|
67 |
/usr/pkg/lib |
68 |
/opt/csw/lib /opt/lib |
69 |
/usr/openwin/lib |
70 |
) |
58 |
) |
71 |
|
59 |
|
72 |
LIST(APPEND CMAKE_SYSTEM_PROGRAM_PATH |
60 |
LIST(APPEND CMAKE_SYSTEM_PROGRAM_PATH |
73 |
/usr/pkg/bin |
61 |
@GENTOO_PORTAGE_EPREFIX@usr/bin |
|
|
62 |
@GENTOO_PORTAGE_EPREFIX@bin |
74 |
) |
63 |
) |
75 |
|
64 |
|
76 |
LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES |
65 |
LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES |
|
|
66 |
@GENTOO_PORTAGE_GCCLIBDIR@/gcc |
67 |
@GENTOO_PORTAGE_GCCLIBDIR@ |
68 |
@GENTOO_PORTAGE_EPREFIX@usr/lib64 |
69 |
@GENTOO_PORTAGE_EPREFIX@usr/lib32 |
70 |
@GENTOO_PORTAGE_EPREFIX@usr/lib |
71 |
@GENTOO_PORTAGE_EPREFIX@lib |
77 |
/lib /usr/lib /usr/lib32 /usr/lib64 |
72 |
/lib /usr/lib /usr/lib32 /usr/lib64 |
78 |
) |
73 |
) |
79 |
|
74 |
|
80 |
LIST(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES |
75 |
LIST(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES |
|
|
76 |
@GENTOO_PORTAGE_EPREFIX@usr/include |
81 |
/usr/include |
77 |
/usr/include |
82 |
) |
78 |
) |
83 |
LIST(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES |
79 |
LIST(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES |
|
|
80 |
@GENTOO_PORTAGE_EPREFIX@usr/include |
84 |
/usr/include |
81 |
/usr/include |
85 |
) |
82 |
) |
86 |
|
83 |
|