[CMake] problem creating cmake for ns3 library

Nils Gladitz nilsgladitz at gmail.com
Sun Jul 31 05:24:29 EDT 2016


On 31.07.2016 09:19, Kapil Gupta wrote:
>
> -- Looking for lib ns3-core
> -- Looking for lib ns3-core - not found
>

There might be more issues but to start with:
     In 
https://github.com/kneelb4darth/qosManet/blob/master/cmake/FindNS3.cmake#L23
     NAME should be NAMES.

Same here:
https://github.com/kneelb4darth/qosManet/blob/master/cmake/FindNS3.cmake#L30

Beyond that the module seems to break a few conventions (e.g. using 
plural names for cache variables or automatic extension of include and 
link directories); you might want to take a look at:
https://cmake.org/cmake/help/v3.6/manual/cmake-developer.7.html#find-modules

Nils




More information about the CMake mailing list