Skip to content

Commit

Permalink
fix for ancient gcc (linking order of libs)
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Szumski committed Feb 26, 2015
1 parent ebe9cb2 commit a21668e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set(MAIN_SRC
)

add_executable(run ${MAIN_SRC})
target_link_libraries (run gsl gslcblas nnet m)
target_link_libraries (run nnet gsl gslcblas m)

set (CMAKE_CXX_FLAGS "-Wall -std=c++11")

Expand All @@ -29,5 +29,5 @@ set(TEST_SRC
)

add_executable(tests ${TEST_SRC})
target_link_libraries (tests gsl gslcblas nnet m)
target_link_libraries (tests nnet gsl gslcblas m)

0 comments on commit a21668e

Please sign in to comment.