Pass argument to cmake

asked 2018-10-19 07:57:17 -0500

Jochen0x90h gravatar image

Hi!

I have a cmake based library with a package.xml which contains cmake build type:

<export>
    <build_type>cmake</build_type>
</export>

Is it possible to pass an argument to cmake, e.g. -DBUILD_SHARED_LIBS=ON ?

Thanks

edit retag flag offensive close merge delete