gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Link libm and libpthread if using CPLEX (#277)
0 1 0
default
1 file changed with 3 insertions and 0 deletions:
↑ Collapse diff ↑
Ignore white space 4 line context
... ...
@@ -25,4 +25,7 @@
25 25
  SET(CPLEX_INCLUDE_DIRS ${CPLEX_INCLUDE_DIR})
26 26
  SET(CPLEX_LIBRARIES ${CPLEX_LIBRARY})
27
  IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
28
    SET(CPLEX_LIBRARIES "${CPLEX_LIBRARIES};m;pthread")
29
  ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
27 30
ENDIF(CPLEX_FOUND)
28 31

	
0 comments (0 inline)