torch / tds

Torch C data structures
Other
80 stars 25 forks source link

cmake needs forced .so prefix for OSX #1

Closed soumith closed 9 years ago

soumith commented 9 years ago

if (APPLE) set_property(TARGET THZ PROPERTY PREFIX "lib") set_property(TARGET THZ PROPERTY OUTPUT_NAME "tds.so") set_property(TARGET THZ PROPERTY SUFFIX "") endif()

otherwise, stupid package.searchpath wont find it

andresy commented 9 years ago

that should not be the case -- it is compiled with MODULE which outputs a .so... works fine on my 10.9 system (or previous). what is yours?

soumith commented 9 years ago

true, my bad.