Skip to content

Commit

Permalink
libmath dependency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Jun 28, 2014
1 parent 3d07691 commit ed5446f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ fixedfann.c

ADD_LIBRARY(fixedfann SHARED ${fixedfann_LIB_SRCS})

TARGET_LINK_LIBRARIES(fixedfann m)

SET_TARGET_PROPERTIES(fixedfann PROPERTIES VERSION ${VERSION} SOVERSION 2 )
INSTALL(TARGETS fixedfann DESTINATION ${LIB_INSTALL_DIR} )

Expand All @@ -49,6 +51,8 @@ floatfann.c

ADD_LIBRARY(fann SHARED ${fann_LIB_SRCS})

TARGET_LINK_LIBRARIES(fann m)

SET_TARGET_PROPERTIES(fann PROPERTIES VERSION ${VERSION} SOVERSION 2 )
INSTALL(TARGETS fann DESTINATION ${LIB_INSTALL_DIR} )

0 comments on commit ed5446f

Please sign in to comment.