projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f7951df
)
Use ${PROJECT_NAME} instead of pulseview in CMakeLists.txt
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 13 Oct 2012 00:04:52 +0000
(
01:04
+0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 13 Oct 2012 13:02:59 +0000
(15:02 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index b6252fe91563de3b90d882e5a48365dfadfe8fd7..d1f122c416fb52116864329cfe97f218e5677259 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-167,20
+167,20
@@
else()
list(APPEND PULSEVIEW_LINK_LIBS ${PKGDEPS_LIBRARIES})
endif()
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}
)
${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
#-------------------------------------------------------------------------------
#===============================================================================
#= Installation
#-------------------------------------------------------------------------------
-install(PROGRAMS
pulseview
DESTINATION bin/)
+install(PROGRAMS
${PROJECT_NAME}
DESTINATION bin/)
#===============================================================================
#= Tests
#===============================================================================
#= Tests