Commit cd217905 authored by Francois Keith's avatar Francois Keith
Browse files

The dependency in dl is unix-specific

parent c886d4f6
......@@ -22,9 +22,13 @@ FOREACH(test_name ${tests})
LINK_DIRECTORIES(${${PROJECT_NAME}_BINARY_DIR}/lib)
IF(UNIX)
EXTRA_LIBRARIES(dl)
ENDIF(UNIX)
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME}
${PROJECT_NAME}
dl)
${EXTRA_LIBRARIES})
ADD_TEST(NAME ${test_name} COMMAND ${test_name})
ENDFOREACH(test_name)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment