Skip to content

Commit

Permalink
CMake backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSchneid3r committed Dec 21, 2018
1 parent 1b028a0 commit 2541d2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/albertcore/CMakeLists.txt
Expand Up @@ -47,7 +47,8 @@ target_link_libraries(${PROJECT_NAME}
globalshortcut
xdg
)
if(Qt5Widgets_VERSION VERSION_GREATER_EQUAL 5.6.0) # TODO: remove Apr 2020
# TODO: remove Apr 2020
if((Qt5Widgets_VERSION VERSION_GREATER 5.6.0) OR (Qt5Widgets_VERSION VERSION_EQUAL 5.6.0))
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Charts)
endif()

Expand Down

0 comments on commit 2541d2f

Please sign in to comment.