We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d31b45 commit aba21aeCopy full SHA for aba21ae
CMakeLists.txt
@@ -156,9 +156,9 @@ if (NI_LRT)
156
rt # Realtime Extensions library
157
)
158
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})
+ mel_add_library(myrio SOURCES ${MEL_MYRIO_SRC} ${MEL_MYRIO_HEADERS})
+ target_link_libraries(myrio PUBLIC MEL)
+ target_compile_definitions(myrio PRIVATE MyRio_1900) # needed by NI src
162
endif()
163
164
0 commit comments