Skip to content

Commit 751c807

Browse files
Install Version.h when installing by CMakeLists (#361)
### Motivation The macOS pre-built binaries don't include the Version.h generated from CMake. It's because `cmake --target install` does not install the `Version.h`, which is generated by `configure_file`. ### Modifications Install the `Version.h`.
1 parent d209482 commit 751c807

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,4 @@ if (BUILD_DYNAMIC_LIB)
156156
endif()
157157

158158
install(DIRECTORY "../include/pulsar" DESTINATION include)
159+
install(FILES "${PROJECT_BINARY_DIR}/include/pulsar/Version.h" DESTINATION include/pulsar/)

0 commit comments

Comments
 (0)