Skip to content

Commit

Permalink
update with conda variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Patro committed Nov 23, 2022
1 parent f8bbcc1 commit da41bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ target_link_libraries(cfcore_static PRIVATE ${CMAKE_THREAD_LIBS_INIT})
# when building on conda on OSX with clang, we apparently need to explicitly
# link the filesystem library, see (https://github.com/bioconda/bioconda-recipes/pull/37269/files)
if("$ENV{CF_INSTALL}" STREQUAL "conda" AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_link_libraries(cfcore_static PRIVATE c++fs)
target_link_libraries(cfcore_static PRIVATE c++experimental)
endif()

# Link the executable to the required libraries.
Expand Down

0 comments on commit da41bb4

Please sign in to comment.