Skip to content

Commit

Permalink
Renaming static libs to avoid _static suffixe.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement Farabet committed Jun 7, 2015
1 parent 5958eec commit b7b1c66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/TorchPackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ MACRO(ADD_TORCH_PACKAGE package src luasrc)

SET_TARGET_PROPERTIES(${package}_static PROPERTIES
COMPILE_FLAGS "-fPIC")
SET_TARGET_PROPERTIES(${package}_static PROPERTIES
PREFIX "lib" IMPORT_PREFIX "lib" OUTPUT_NAME "${package}")

INSTALL(TARGETS ${package}
RUNTIME DESTINATION ${Torch_INSTALL_LUA_CPATH_SUBDIR}
Expand Down

0 comments on commit b7b1c66

Please sign in to comment.