Skip to content

Commit 8f205b3

Browse files
committed
more conda-build hardcoding fun
1 parent bd6c302 commit 8f205b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ endif()
169169

170170
if(DEFINED ENV{CONDA_BUILD})
171171
find_package(HDF5 REQUIRED)
172+
if(WIN32)
173+
target_link_options(RcppPlanc PRIVATE ${OpenMP_CXX_FLAGS})
174+
target_link_libraries(RcppPlanc PRIVATE "dl.lib" "cblas.lib")
175+
endif()
172176
else()
173177
if(APPLE)
174178
target_link_libraries(hw_detect INTERFACE "-framework Foundation" "-framework IOKit" "-framework OpenCL")

0 commit comments

Comments
 (0)