spack/var/spack/repos/builtin/packages/bcl2fastq2/cmake-macros.patch
George Hartzell daaa37c1ff Package for bcl2fastq2 (updates libxslt) (#4234)
* Add v1.1.26 and make crypto a variant

I need 1.1.26 for bcl2fastq2.

I also need to build it without crypto support.

* Initial support for bcl2fastq2

* Clean up commentary, messages, names

No substantial changes intended, just cleanup.

* fix flake8 and extra import

* The masked grammarian strikes again...

* Be normal (messages don't end in periods)

* When +crypto, add --with-crypto

Add `--with-crypto` to configure args when user hasn't explicitly set
`~crypto`.

* self.spec.satisfies is unsatisfying, in is in instead

See #4135, self.spec.satisfies has issues.  @adamjstewart suggests
simply using in.
2017-05-17 20:57:23 -05:00

11 lines
727 B
Diff

--- a/src/cmake/bcl2fastq_redist_macros.cmake 2017-05-11 15:03:27.652495488 -0700
+++ b/src/cmake/bcl2fastq_redist_macros.cmake 2017-05-11 15:06:38.326745889 -0700
@@ -30,6 +30,7 @@
message(" Found: ${libname}, correct version ${version}")
message(" ${${libname}_UPPER}_INCLUDE_DIR = ${${${libname}_UPPER}_INCLUDE_DIR}")
message(" ${${libname}_UPPER}_LIBRARIES = ${${${libname}_UPPER}_LIBRARIES}")
+ set (HAVE_${${libname}_UPPER} true CACHE BOOL "package" FORCE)
else("${${${libname}_UPPER}_VERSION_STRING}" STREQUAL "${version}")
message(" Not found: ${libname}, incorrect version ( ${${${libname}_UPPER}_VERSION} )")
set(${${libname}_UPPER}_FOUND "FALSE")