-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install the library using provided CMakeLists.txt #2
Comments
So, I cannot understand why it complains about it. Other three errors (lines 19, 21, and 28) are because of failing to define target Which version of CMake are you using? What happens if you comment out line 19 since this line is the only line providing source arguments? |
Regarding installation guide, I am going to include some guides and examples. Meanwhile, the usual way should work with CMake 3.13+:
Since it is a header-only library, there is nothing to build except generating the If you are using CMake in your project, you can alternatively include the library in your source tree as a git submodule. Then, calling add_subdirectory(ext/kseq++)
add_executable(your_target main.cpp)
target_include_directories(your_target PUBLIC kseq++::kseq++)
target_link_libraries(your_target PUBLIC kseq++::kseq++) |
Thank you! |
Library installation instructions would be greatly appreciated!
Upon trying to install the library using cmake... The following results:
The text was updated successfully, but these errors were encountered: