From: Joel Holdsworth Date: Sat, 13 Oct 2012 00:04:52 +0000 (+0100) Subject: Use ${PROJECT_NAME} instead of pulseview in CMakeLists.txt X-Git-Tag: pulseview-0.1.0~261 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=5a13850ba586de3ca619f2e7aaea2305c00a38a8;hp=f7951df4a17a5c7e831dd20d43049137b5761e85 Use ${PROJECT_NAME} instead of pulseview in CMakeLists.txt --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b6252fe9..d1f122c4 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