Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterymath committed Mar 22, 2024
1 parent b5dd60c commit 3c5b041
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SingleSource/UnitTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ if(ARCH STREQUAL "MOS")

if (CMAKE_BUILD_TYPE STREQUAL Debug)
list(REMOVE_ITEM Source fixed_point.cpp)
else()
target_link_libraries(fixed_point PRIVATE printf_flt)
endif()
endif()

Expand Down Expand Up @@ -130,7 +132,6 @@ if(ARCH STREQUAL "MOS")
target_link_libraries(StructModifyTest PRIVATE printf_flt)
target_link_libraries(byval-alignment PRIVATE printf_flt)
target_link_libraries(printf_float PRIVATE printf_flt)
target_link_libraries(fixed_point PRIVATE printf_flt)
else()
if (COMPILER_HAS_MATRIX_FLAG)
set_property(TARGET matrix-types-spec PROPERTY LINK_OPTIONS -fenable-matrix)
Expand Down

0 comments on commit 3c5b041

Please sign in to comment.