Unverified Commit b93aaf89 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #1247 from nim65s/devel

[CMake] add missing link to DL
parents e02d274a 4c80dcf0
......@@ -149,7 +149,7 @@ MACRO(ADD_CPPADCG_UNIT_TEST name)
ADD_PINOCCHIO_UNIT_TEST(${name} cppadcg)
ADD_DEPENDENCIES(test-cppadcg test-cpp-${name})
SET_PROPERTY(TARGET test-cpp-${name} PROPERTY CXX_STANDARD 11)
TARGET_LINK_LIBRARIES(test-cpp-${name} PUBLIC ${cppad_LIBRARY})
TARGET_LINK_LIBRARIES(test-cpp-${name} PUBLIC ${cppad_LIBRARY} ${CMAKE_DL_LIBS})
ENDMACRO()
IF(BUILD_WITH_AUTODIFF_SUPPORT)
......
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