Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=920518 --- Comment #5 from Antonio Trande <trpost@xxxxxxxxxxxx> --- (In reply to comment #4) > > > 7. My suggestion to invoke cmake directly was due > to no other way to set some options, but you should > follow the pattern in the toplevel Makefile, that has: > ---%<--- > CONFIG_FLAGS = -DCMAKE_VERBOSE_MAKEFILE=1 > ifeq ($(gklib_path), not-set) > gklib_path = GKlib > endif > CONFIG_FLAGS += -DGKLIB_PATH=$(abspath $(gklib_path)) > ifneq ($(gdb), not-set) > CONFIG_FLAGS += -DGDB=$(gdb) > endif > ifneq ($(assert), not-set) > CONFIG_FLAGS += -DASSERT=$(assert) > endif > ifneq ($(assert2), not-set) > CONFIG_FLAGS += -DASSERT2=$(assert2) > endif > ifneq ($(debug), not-set) > CONFIG_FLAGS += -DDEBUG=$(debug) > endif > ifneq ($(gprof), not-set) > CONFIG_FLAGS += -DGPROF=$(gprof) > endif > ifneq ($(openmp), not-set) > CONFIG_FLAGS += -DOPENMP=$(openmp) > endif > ifneq ($(prefix), not-set) > CONFIG_FLAGS += -DCMAKE_INSTALL_PREFIX=$(prefix) > endif > ifneq ($(shared), not-set) > CONFIG_FLAGS += -DSHARED=1 > endif > ifneq ($(cc), not-set) > CONFIG_FLAGS += -DCMAKE_C_COMPILER=$(cc) > endif > ---%<--- > Actually, it may be better to add a libsuffix extra > option to the Makefile instead of invoking cmake. > I don't understand what you mean here. -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=LBTE71uxhQ&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review