Fix library ordering
@@ -129,10 +129,10 @@ macro(add_h3_executable name)
# invoke built-in add_executable
add_executable(${ARGV})
if(TARGET ${name})
+ target_link_libraries(${name} h3.1)
if (M_LIB)
target_link_libraries(${name} ${M_LIB})
endif()
- target_link_libraries(${name} h3.1)
target_include_directories(${name} PUBLIC src/apps/applib/include)
endif()
endmacro()
