Skip to content

Commit aba21ae

Browse files
committed
add lib MEL::myrio
1 parent 4d31b45 commit aba21ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ if (NI_LRT)
156156
rt # Realtime Extensions library
157157
)
158158
if (CMAKE_SYSTEM_PROCESSOR MATCHES ARM)
159-
message("Building MEL with myRIO support")
160-
target_compile_definitions(MEL PRIVATE MyRio_1900) # needed by NI src
161-
target_sources(MEL PRIVATE ${MEL_MYRIO_SRC} ${MEL_MYRIO_HEADERS})
159+
mel_add_library(myrio SOURCES ${MEL_MYRIO_SRC} ${MEL_MYRIO_HEADERS})
160+
target_link_libraries(myrio PUBLIC MEL)
161+
target_compile_definitions(myrio PRIVATE MyRio_1900) # needed by NI src
162162
endif()
163163
endif()
164164

0 commit comments

Comments
 (0)