Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 65b50f55 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

do not remove duplicates: could cause problems with the libs order during the link

parent cdd41c56
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,6 @@ endif() ...@@ -152,7 +152,6 @@ endif()
link_directories(${HWLOC_LIBRARY_DIRS}) link_directories(${HWLOC_LIBRARY_DIRS})
list(REMOVE_DUPLICATES libs_for_ltm)
# message(STATUS "libs examples: ${libs_for_ltm}") # message(STATUS "libs examples: ${libs_for_ltm}")
foreach(_ltm ${LTM_SOURCES}) foreach(_ltm ${LTM_SOURCES})
get_filename_component(_name_exe ${_ltm} NAME_WE) get_filename_component(_name_exe ${_ltm} NAME_WE)
...@@ -164,7 +163,6 @@ foreach(_ltm ${LTM_SOURCES}) ...@@ -164,7 +163,6 @@ foreach(_ltm ${LTM_SOURCES})
endforeach() endforeach()
add_executable(step0 step0.c) add_executable(step0 step0.c)
list(REMOVE_DUPLICATES libs_for_step0)
set_property(TARGET step0 PROPERTY LINKER_LANGUAGE Fortran) set_property(TARGET step0 PROPERTY LINKER_LANGUAGE Fortran)
target_link_libraries(step0 ${libs_for_step0}) target_link_libraries(step0 ${libs_for_step0})
install(TARGETS step0 install(TARGETS step0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment