Closed tijyojwad closed 4 years ago
@tijyojwad since the definition of GW_BUILD_HTSLIB
is done per-target in this PR, and right now it's only done for libcudamapper, I believe you would have to add it to the main cudamapper-bin
target as well as sample_cudamapper
target.
It should be easy, adding the following to cudamapper/CMakeLists.txt:
target_compile_definitions(${MODULE_NAME}-bin PUBLIC GW_BUILD_HTSLIB)
and adding the following to cudamapper/samples/CMakeLists.txt:
target_compile_definitions(${MODULE_NAME} PUBLIC GW_BUILD_HTSLIB)
Actually, the above may not be true, since PUBLIC implies that the compile definitions are exposed when linking against libcudamapper. Correct if my understanding is wrong anywhere. LGTM
Thanks @nvvishanthi ! Made those changes to the PR now.