Skip to content

Commit

Permalink
cmake upd
Browse files Browse the repository at this point in the history
  • Loading branch information
hadnle-less committed Jun 3, 2024
1 parent da4e8c9 commit 74e8bf4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
set(header_path "${${PROJECT_NAME}_SOURCE_DIR}/include")
set(header ${header_path}/circle.h)
set(src circle.cpp)
set(header ${header_path}/circle.h
${header_path}/tasks.h)
set(src circle.cpp
tasks.cpp)


add_library(${PROJECT_NAME} SHARED
${header}
Expand All @@ -27,4 +30,4 @@ install(TARGETS ${PROJECT_NAME}
install(TARGETS ${PROJECT_NAME}.info
RUNTIME DESTINATION "${tool_dest}"
COMPONENT library)
install(FILES ${header} DESTINATION "${include_dest}")
install(FILES ${header} DESTINATION "${include_dest}")

0 comments on commit 74e8bf4

Please sign in to comment.