Index: rtol/source/CMakeLists.txt
===================================================================
--- rtol/source/CMakeLists.txt	(revision 024977ae038ac9dddade1ed175542331e8f1aa9a)
+++ rtol/source/CMakeLists.txt	(revision d5e4e94a3811915690d9113673603aead3982f31)
@@ -13,5 +13,9 @@
 
 set_target_properties( tolRlink PROPERTIES PREFIX "")
-target_link_libraries( tolRlink ${TOL_LIBRARIES} ${RINSIDE_LIBRARIES} )
+
+target_link_libraries( tolRlink ${TOL_LIBRARIES} )
+if( WIN32 )
+  target_link_libraries( tolRlink ${R_LIBRARY_BASE} )
+endif( WIN32 )
 
 # message( STATUS "RTOL_DEST_DIR = ${RTOL_DEST_DIR}" )
