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 5d50405 commit 02d26a9Copy full SHA for 02d26a9
1 file changed
CMakeLists.txt
@@ -408,7 +408,7 @@ if(BUILD_HEADERS)
408
# Create a dummy .cpp file that includes the header file we want to
409
# check.
410
set(DUMMYCPP ${CMAKE_BINARY_DIR}/header_check/${libname}.cpp)
411
- file(WRITE ${DUMMYCPP} "#define OSMIUM_UTIL_COMPATIBILITY_HPP\n#define OSMIUM_DEPRECATED\n#include <${hpp}> // IWYU pragma: keep\n")
+ file(WRITE ${DUMMYCPP} "#define OSMIUM_UTIL_COMPATIBILITY_HPP\n#define OSMIUM_DEPRECATED\n#define OSMIUM_EXPORT\n#include <${hpp}> // IWYU pragma: keep\n")
412
413
# There is no way in CMake to just compile but not link a C++ file,
414
# so we pretend to build a library here.
0 commit comments