forked from efficient/libcuckoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install a cmake config for libcuckoo so that users can cleanly
access us with find_package(libcuckoo). while I'm here, clean up CMakeLists.txt files: - add BUILD_EXAMPLES and BUILD_TESTS as cache variables so that they show up in ccmake (there is prob more than could be added) - remove unneeded cuckoo-c targets - don't put header files in add_executable lists (cmake's auto depend features will catch changes to files that are #included) - use target_compile_features to kick on c++11 instead of trying to directly set compiler flags
- Loading branch information
1 parent
57129c8
commit a1a5db8
Showing
7 changed files
with
59 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# libcuckoo-config.cmake | ||
# | ||
|
||
include (CMakeFindDependencyMacro) | ||
|
||
set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
find_dependency(Threads) | ||
|
||
include ("${CMAKE_CURRENT_LIST_DIR}/libcuckoo-targets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters