CMakeLists.txt

changeset 47
4a0ad0a08ea1
parent 46
07578e081ae8
child 48
e121ea9dba93
equal deleted inserted replaced
46:07578e081ae8 47:4a0ad0a08ea1
2 cmake_minimum_required (VERSION 2.6) 2 cmake_minimum_required (VERSION 2.6)
3 3
4 if (USE_QT5) 4 if (USE_QT5)
5 find_package (Qt5Widgets REQUIRED) 5 find_package (Qt5Widgets REQUIRED)
6 find_package (Qt5Core REQUIRED) 6 find_package (Qt5Core REQUIRED)
7 find_package (Qt5OpenGL REQUIRED)
8 find_package (Qt5Network REQUIRED)
9 set (CMAKE_AUTOMOC ON) 7 set (CMAKE_AUTOMOC ON)
10 else() 8 else()
11 find_package (Qt4 REQUIRED) 9 find_package (Qt4 REQUIRED)
12 endif() 10 endif()
13 11

mercurial