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 9d0d8a7 commit 7d8b648Copy full SHA for 7d8b648
CMakeLists.txt
@@ -93,7 +93,7 @@ else()
93
add_subdirectory(3rdparty/json)
94
endif()
95
96
-set (MODBUSPP_CFLAGS_OTHER ${CMAKE_THREAD_LIBS_INIT} ${LIBMODBUS_CFLAGS})
+set (MODBUSPP_CFLAGS_OTHER ${CMAKE_THREAD_LIBS_INIT})
97
set (MODBUSPP_LDFLAGS_OTHER ${LIBMODBUS_LDFLAGS} -lpthread)
98
99
include (GetDate)
modbuspp.pc.in
@@ -12,5 +12,5 @@ URL: https://github.com/epsilonrt/libmodbuspp
12
Version: @MODBUSPP_VERSION@
13
Requires:
14
Libs: -L${libdir} -lmodbuspp ${ldflags_other}
15
-Cflags: -I${includedir} ${cflags_other}
+Cflags: -I${includedir} -I${includedir}/@LIBMODBUS_NAME@ ${cflags_other}
16
0 commit comments