Skip to content

Commit

Permalink
[NOBIN] Changed condition in CMake add resources for Qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Sep 14, 2024
1 parent bf5e310 commit ed022a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pe-bear/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,11 @@ if(USE_QT4)
qt4_add_resources(pebear_rcc_src ${pebear_rcc})
qt4_wrap_cpp(pebear_hdrs_moc ${pebear_hdrs})
else()
qt_add_resources(pebear_rcc_src ${pebear_rcc})
if(USE_QT5)
qt5_add_resources(pebear_rcc_src ${pebear_rcc})
else()
qt_add_resources(pebear_rcc_src ${pebear_rcc})
endif()
qt_wrap_cpp(pebear_hdrs_moc ${pebear_hdrs})
endif()

Expand Down

0 comments on commit ed022a4

Please sign in to comment.