summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2018-11-24 09:40:30 +0300
committerGitHub <noreply@github.com>2018-11-24 09:40:30 +0300
commit158c179beb3d06f110d665075d5e283e24592de6 (patch)
tree465d04c0ebbf573ddb0fa57ce2015bd44efd4ddf /CMakeLists.txt
parentb35438dd77e4c2391391d7777c0a0b4cfd6e46f5 (diff)
parentba46cf2f3c9f253b84139f3b7229fe39fe5714ef (diff)
Merge pull request #85 from ingjieye/master
Update CMakeLists.txt so tgbot-cpp can be used as a submodule
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6d5c2e..c4f7195 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,6 +57,7 @@ set(LIB_LIST
# building project
add_library(${PROJECT_NAME} ${SRC_LIST})
+target_include_directories(${PROJECT_NAME} PUBLIC include)
target_link_libraries(${PROJECT_NAME} ${LIB_LIST})
install(TARGETS ${PROJECT_NAME} DESTINATION lib)
install(DIRECTORY include/ DESTINATION include)