Skip to content

Commit ed022a4

Browse files
committed
[NOBIN] Changed condition in CMake add resources for Qt5
1 parent bf5e310 commit ed022a4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pe-bear/CMakeLists.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,11 @@ if(USE_QT4)
269269
qt4_add_resources(pebear_rcc_src ${pebear_rcc})
270270
qt4_wrap_cpp(pebear_hdrs_moc ${pebear_hdrs})
271271
else()
272-
qt_add_resources(pebear_rcc_src ${pebear_rcc})
272+
if(USE_QT5)
273+
qt5_add_resources(pebear_rcc_src ${pebear_rcc})
274+
else()
275+
qt_add_resources(pebear_rcc_src ${pebear_rcc})
276+
endif()
273277
qt_wrap_cpp(pebear_hdrs_moc ${pebear_hdrs})
274278
endif()
275279

0 commit comments

Comments
 (0)