Skip to content

Commit

Permalink
Merge pull request libfann#13 from varunagrawal/varun
Browse files Browse the repository at this point in the history
libmath linker dependency fix
  • Loading branch information
steffennissen committed Aug 16, 2014
2 parents a0099d4 + ed5446f commit 93379ef
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 @@ -41,6 +41,8 @@ fixedfann.c

ADD_LIBRARY(fixedfann ${fixedfann_LIB_SRCS})

TARGET_LINK_LIBRARIES(fixedfann m)

SET_TARGET_PROPERTIES(fixedfann PROPERTIES VERSION ${VERSION} SOVERSION 2 )
INSTALL(TARGETS fixedfann LIBRARY DESTINATION ${LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
Expand All @@ -55,6 +57,8 @@ floatfann.c

ADD_LIBRARY(fann ${fann_LIB_SRCS})

TARGET_LINK_LIBRARIES(fann m)

SET_TARGET_PROPERTIES(fann PROPERTIES VERSION ${VERSION} SOVERSION 2 )
INSTALL(TARGETS fann LIBRARY DESTINATION ${LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
Expand Down

0 comments on commit 93379ef

Please sign in to comment.