Commit Graph

5 Commits

Author SHA256 Message Date
Tomáš Chvátal
c8eedc1eeb Accepting request 290267 from home:scarabeus_iv
- Do not specify the compiler cc and c++ at all, it should be the
  default value and cmake expects full path in some cases.
  This should fix the failing build with error c++ not found in PATH

OBS-URL: https://build.opensuse.org/request/show/290267
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=202
2015-03-11 10:25:03 +00:00
Ismail Dönmez
330549628a Accepting request 289674 from home:scarabeus_iv
- Remove full path from compiler to allow ccache override
- This might break build if your package breaks $PATH content
- Tested on KDE and it build and some misc apps too.
  If something fails it should be fixed per app basis

OBS-URL: https://build.opensuse.org/request/show/289674
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=201
2015-03-07 10:51:36 +00:00
Tomáš Chvátal
7c064878d8 - Add path back as it breaks some builds when using relative path
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=200
2015-03-05 20:30:21 +00:00
Tomáš Chvátal
6f1199d222 - Try to remove full path from compiler to allow ccache override
via path

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=199
2015-03-05 13:17:25 +00:00
Ismail Dönmez
1b90ba4d09 Accepting request 195426 from home:scarabeus_iv
This change is followup for the discussion at ml:
http://lists.opensuse.org/opensuse-factory/2013-08/msg00174.html

I would propose proceed by the schedule I mentioned there.
Most of this stuff is taken from what I did in Gentoo cmake system.


- One more backslash here.

- Backshlashes were missing in macros.

- Add opensuse_rules.cmake to set the default compiler and linker
  opts. Tweak a bit the macro to not let upstreams twerk with the
  cmake files too much.

- Provide macros.cmake which contains %cmake macro to reduce
  mess in the spec files.

OBS-URL: https://build.opensuse.org/request/show/195426
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=122
2013-08-16 09:35:44 +00:00