]> sigrok.org Git - pulseview.git/commitdiff
Use ${PROJECT_NAME} instead of pulseview in CMakeLists.txt
authorJoel Holdsworth <redacted>
Sat, 13 Oct 2012 00:04:52 +0000 (01:04 +0100)
committerUwe Hermann <redacted>
Sat, 13 Oct 2012 13:02:59 +0000 (15:02 +0200)
CMakeLists.txt

index b6252fe91563de3b90d882e5a48365dfadfe8fd7..d1f122c416fb52116864329cfe97f218e5677259 100644 (file)
@@ -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