Skip to content

Commit 3ba90c5

Browse files
committed
Merge pull request #12 from zonca/install_headers
Install headers
2 parents 846d294 + e310221 commit 3ba90c5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ SET_TARGET_PROPERTIES(${SHARED_EXAMPLE_TARGET}
6565
TARGET_LINK_LIBRARIES(${SHARED_EXAMPLE_TARGET} OpenMM)
6666
INSTALL_TARGETS(/lib RUNTIME_DIRECTORY /lib ${SHARED_EXAMPLE_TARGET})
6767

68+
# install headers excluding headers in internal
69+
FILE(GLOB API_ONLY_INCLUDE_FILES "openmmapi/include/*.h")
70+
INSTALL (FILES ${API_ONLY_INCLUDE_FILES} DESTINATION include)
71+
6872
# Enable testing
6973

7074
ENABLE_TESTING()

0 commit comments

Comments
 (0)