We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09100de + 2bd5741 commit e678586Copy full SHA for e678586
1 file changed
CMakeLists.txt
@@ -143,6 +143,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_config.h.in ${CMAKE_CURRE
143
# LIBS
144
add_library(ethercat ${SRC_ETHERCAT} ${SRC_HW_LAYER})
145
target_link_libraries (ethercat ${CMAKE_THREAD_LIBS_INIT} ${libosal_LIBS})
146
+target_compile_definitions(ethercat PUBLIC HAVE_CONFIG_H=1)
147
148
# TOOLS
149
add_executable(eepromtool tools/eepromtool/eepromtool.c)
0 commit comments