update
This commit is contained in:
parent
8121d8296f
commit
879f365905
5 changed files with 6 additions and 106 deletions
|
|
@ -1,23 +1,5 @@
|
|||
project(
|
||||
mpanel
|
||||
)
|
||||
setup_project(mpanel ${CMAKE_INSTALL_BINDIR})
|
||||
|
||||
file(
|
||||
GLOB
|
||||
mpanel_SRC
|
||||
*.c
|
||||
)
|
||||
|
||||
add_executable(
|
||||
mpanel
|
||||
${mpanel_SRC}
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
mpanel
|
||||
PRIVATE
|
||||
MDELib
|
||||
)
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL Linux)
|
||||
target_link_libraries(
|
||||
mpanel
|
||||
|
|
@ -25,9 +7,3 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL Linux)
|
|||
dl
|
||||
)
|
||||
endif()
|
||||
|
||||
include(GNUInstallDirs)
|
||||
install(
|
||||
TARGETS mpanel
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue