From 5a13850ba586de3ca619f2e7aaea2305c00a38a8 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 13 Oct 2012 01:04:52 +0100 Subject: [PATCH] Use ${PROJECT_NAME} instead of pulseview in CMakeLists.txt --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b6252fe..d1f122c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,20 +167,20 @@ else() list(APPEND PULSEVIEW_LINK_LIBS ${PKGDEPS_LIBRARIES}) endif() -add_executable(pulseview +add_executable(${PROJECT_NAME} ${pulseview_SOURCES} ${pulseview_HEADERS_MOC} ${pulseview_FORMS_HEADERS} ${pulseview_RESOURCES_RCC} ) -target_link_libraries(pulseview ${PULSEVIEW_LINK_LIBS}) +target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS}) #=============================================================================== #= Installation #------------------------------------------------------------------------------- -install(PROGRAMS pulseview DESTINATION bin/) +install(PROGRAMS ${PROJECT_NAME} DESTINATION bin/) #=============================================================================== #= Tests -- 2.30.2