Ask Your Question

documentation about compile and cmake definitions

asked 2016-04-23 17:47:48 -0500

sergiomb gravatar image

updated 2016-04-23 17:50:21 -0500


I just found to enable QT and opengl I need add -DWITH_QT=ON, for example something like:


where I can find the complete list of cmake options and what are enabled by default ?

The best that I found was


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-04-23 18:03:46 -0500

Tetragramm gravatar image

Well, I used the CMake GUI. I would assume there's some way of listing the options in the command line. Presumably it's listed somewhere in here.

Ah, here it is: cmake -LAH

edit flag offensive delete link more


For me was more simple use vi CMakeLists.txt and read from line 162 ...

sergiomb gravatar imagesergiomb ( 2016-04-23 20:20:58 -0500 )edit

Question Tools

1 follower


Asked: 2016-04-23 17:47:48 -0500

Seen: 69 times

Last updated: Apr 23 '16