Skip to content

Commit

Permalink
RCPP-41 Add headers for schedulers to includes
Browse files Browse the repository at this point in the history
  • Loading branch information
leemaguire committed Mar 13, 2024
1 parent 2e4a070 commit 7735490
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def source(self):
git = Git(self)
git.clone(url="https://github.com/realm/realm-cpp", target=".")
git.folder = "."
git.checkout(commit="518f3ba5af44d6d23bf3128cfc9c6d99ec637426")
git.checkout(commit="2e4a0707d29640fc6e889de1fc7a52c68c88fbfb")
git.run("submodule update --init --recursive")

def layout(self):
Expand Down
1 change: 0 additions & 1 deletion include/cpprealm/schedulers/apple_scheduler.hpp

This file was deleted.

1 change: 0 additions & 1 deletion include/cpprealm/schedulers/uv_scheduler.hpp

This file was deleted.

6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,15 @@ set(HEADERS
if (APPLE)
list(APPEND HEADERS cpprealm/schedulers/apple_scheduler.hpp)
list(APPEND SOURCES cpprealm/schedulers/apple_scheduler.cpp)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cpprealm/schedulers/apple_scheduler.hpp
DESTINATION include/cpprealm/schedulers
COMPONENT devel)
endif()
if (DEFINED CPPREALM_USE_UV)
list(APPEND HEADERS cpprealm/schedulers/uv_scheduler.hpp)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cpprealm/schedulers/uv_scheduler.hpp
DESTINATION include/cpprealm/schedulers
COMPONENT devel)
endif()

include(GNUInstallDirs)
Expand Down

0 comments on commit 7735490

Please sign in to comment.