Skip to content

Commit

Permalink
Merge pull request #6 from cowboy-coders/fix/travis
Browse files Browse the repository at this point in the history
fix for ancient gcc (linking order of libs)
  • Loading branch information
dougszumski committed Feb 26, 2015
2 parents 63ac579 + ed60bf3 commit a16f658
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ 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")
set (CMAKE_CXX_FLAGS "-Wall")

set(TEST_SRC
${PROJECT_SOURCE_DIR}/src/tests.cpp
)

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 a16f658

Please sign in to comment.