From 6148288570e24ba37031d21de28b6c8a635c98f6 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sat, 16 May 2020 13:40:38 +0200 Subject: [PATCH] Change name to ${PROJECT_NAME} --- ScreenPlayWidget/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ScreenPlayWidget/CMakeLists.txt b/ScreenPlayWidget/CMakeLists.txt index d9954eb5..5563c1da 100644 --- a/ScreenPlayWidget/CMakeLists.txt +++ b/ScreenPlayWidget/CMakeLists.txt @@ -20,9 +20,9 @@ set(headers set(resources SPWidgetResources.qrc) -add_executable(ScreenPlayWidget ${src} ${headers} ${resources}) +add_executable(${PROJECT_NAME} ${src} ${headers} ${resources}) -target_link_libraries( ScreenPlayWidget +target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Quick Qt5::Gui