Skip to content

Commit

Permalink
platform agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
theAeon committed Feb 15, 2024
1 parent 21a0c87 commit 4caa61c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ FetchContent_MakeAvailable(HighFive)
if(WIN32)
target_link_libraries(RcppPlanc PRIVATE "${R_HOME}/bin/x64/R.dll")
else()
target_link_libraries(RcppPlanc PRIVATE "${R_HOME}/lib/libR.so")
target_link_directories(RcppPlanc PRIVATE "${R_HOME}/lib/")
target_link_libraries(RcppPlanc PRIVATE R)
endif()
target_link_libraries(RcppPlanc PRIVATE ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} HighFive hw_detect)
#target_include_directories(RcppPlanc BEFORE PRIVATE ${HighFive_BINARY_DIR}/include)
Expand Down

0 comments on commit 4caa61c

Please sign in to comment.