Commit b0e6cff5 authored by Julien Wadel's avatar Julien Wadel
Browse files

${DECAF_LIBRARIES} pointe directement sur la librairie dynamique. En référence...

${DECAF_LIBRARIES} pointe directement sur la librairie dynamique. En référence au CMakeLists.txt de la racine (bctoolbox/src/CMakeLists.txt:221), on utilise plutot ${DECAF_TARGETNAME} qui pointe sur decaf.
parent bded30c2
############################################################################
# CMakeLists.txt
# Copyright (C) 2016 Belledonne Communications, Grenoble France
# Copyright (C) 2020 Belledonne Communications, Grenoble France
#
############################################################################
#
......@@ -57,7 +57,7 @@ if(ENABLE_TESTS AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
target_link_libraries(bctoolbox_tester_exe PRIVATE ${POLARSSL_LIBRARIES})
endif()
if(DECAF_FOUND)
target_link_libraries(bctoolbox_tester_exe PRIVATE ${DECAF_LIBRARIES})
target_link_libraries(bctoolbox_tester_exe PRIVATE ${DECAF_TARGETNAME})
endif()
set_target_properties(bctoolbox_tester_exe PROPERTIES XCODE_ATTRIBUTE_WARNING_CFLAGS "")
add_test(NAME bctoolbox_tester COMMAND bctoolbox_tester --verbose)
......
Markdown is supported
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