Re: CMake help: "install TARGETS given no LIBRARY DESTINATION for shared library target"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/17/19 7:08 AM, Ankur Sinha wrote:
> On Thu, Jan 17, 2019 14:07:44 +0100, Kevin Kofler wrote:
>> Ankur Sinha wrote:
>>> [1] https://github.com/sanjayankur31/rpm-specs/blob/arbor/arbor.spec#L107
>>
>> Any reason why you are not using the %cmake RPM macro?
> 
> I need to build the package with MPI also (mpich/openmpi) and the %cmake
> macro does not seem to take file locations set by the MPI modules into
> account (module show mpi/openmpi-x86_64 etc)
> 
> Is there a version of the macro that would do so? (I haven't been able
> to find one).
> 

Just pass the extra options to %cmake.  But be sure to use "%cmake" and not
"%{cmake}".  See
https://src.fedoraproject.org/rpms/vtk/blob/master/f/vtk.spec#_675 for example.


-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux