Skip to content

Commit b77bc1d

Browse files
committed
Finding qt4/qt5 is only required for the GUI
1 parent 7e4fb90 commit b77bc1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/CMakeLists.txt

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
rock_find_qt4(OPTIONAL)
2-
rock_find_qt5(OPTIONAL)
3-
41
find_package(OpenMP REQUIRED)
52
if(OPENMP_FOUND)
63
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")

src/gui/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
rock_find_qt4(OPTIONAL)
2+
rock_find_qt5(OPTIONAL)
3+
14
find_package(PCL 1.7 REQUIRED COMPONENTS common io)
25
IF("${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}" VERSION_LESS 1.14)
36
SET(PCL_VERSION_SUFFIX "-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}")

0 commit comments

Comments
 (0)