Skip to content

Commit

Permalink
[codegen] Fixed compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cmastalli committed Aug 4, 2023
1 parent 43a6afc commit 419a7c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endforeach(BENCHMARK_NAME ${${PROJECT_NAME}_BENCHMARK})

if(BUILD_WITH_CODEGEN_SUPPORT)
foreach(BENCHMARK_NAME ${${PROJECT_NAME}_CODEGEN_BENCHMARK})
target_link_libraries(${BENCHMARK_NAME} ${CMAKE_DL_LIBS})
target_link_libraries(${BENCHMARK_NAME} ${CMAKE_DL_LIBS} ${cppad_LIBRARY})
endforeach(BENCHMARK_NAME ${${PROJECT_NAME}_CODEGEN_BENCHMARK})
endif()

Expand Down
2 changes: 1 addition & 1 deletion unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ endforeach(NAME ${${PROJECT_NAME}_CPP_TESTS})

if(BUILD_WITH_CODEGEN_SUPPORT)
foreach(TEST_NAME ${${PROJECT_NAME}_CODEGEN_CPP_TESTS})
target_link_libraries(${TEST_NAME} ${CMAKE_DL_LIBS})
target_link_libraries(${TEST_NAME} ${CMAKE_DL_LIBS} ${cppad_LIBRARY})
endforeach()
endif()

0 comments on commit 419a7c9

Please sign in to comment.