diff --git a/GUI/CMakeLists.txt b/GUI/CMakeLists.txt index ea1b843..f1fd998 100644 --- a/GUI/CMakeLists.txt +++ b/GUI/CMakeLists.txt @@ -13,6 +13,8 @@ add_executable(${PROJECT_NAME} WIN32 Textractor.rc Textractor.ico ) -target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp) +target_compile_options(${PROJECT_NAME} PRIVATE $<$:/GL>) +target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp $<$:-LTCG>) + install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds