This commit is contained in:
Nishi 2025-11-18 19:16:40 +09:00
commit 879f365905
Signed by: nishi
GPG key ID: 27EF69B208EB9343
5 changed files with 6 additions and 106 deletions

View file

@ -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}
)