mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-18 04:00:03 +02:00
gui/CMakeLists.txt: Adding install target
This commit is contained in:
parent
a2ec5eaaec
commit
8cb3fad9b1
1 changed files with 11 additions and 1 deletions
|
|
@ -8,7 +8,9 @@ set( CMAKE_AUTOUIC ON )
|
|||
# Program
|
||||
# --------------------------------
|
||||
|
||||
set( PROGRAM_EXE ${CMAKE_PROJECT_NAME}-gui )
|
||||
set( COMPONENT_NAME ${CMAKE_PROJECT_NAME}-gui)
|
||||
|
||||
set( PROGRAM_EXE ${COMPONENT_NAME} )
|
||||
|
||||
set( PROGRAM_SRC
|
||||
main.cpp
|
||||
|
|
@ -20,3 +22,11 @@ add_executable( ${PROGRAM_EXE} ${PROGRAM_SRC} )
|
|||
# Libraries
|
||||
find_package( Qt5 5.11 COMPONENTS Core Widgets REQUIRED )
|
||||
target_link_libraries( ${PROGRAM_EXE} Qt5::Core Qt5::Widgets common )
|
||||
|
||||
# --------------------------------
|
||||
# Install
|
||||
# --------------------------------
|
||||
|
||||
install(TARGETS ${PROGRAM_EXE}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
COMPONENT ${COMPONENT_NAME})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue