Skip to content

Commit 3bb053c

Browse files
committed
Merge pull request #13 from zonca/install_headers
Need also to install the internal headers
2 parents 3ba90c5 + 615a0ef commit 3bb053c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ 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
68+
# install headers
6969
FILE(GLOB API_ONLY_INCLUDE_FILES "openmmapi/include/*.h")
7070
INSTALL (FILES ${API_ONLY_INCLUDE_FILES} DESTINATION include)
71+
FILE(GLOB API_ONLY_INCLUDE_FILES_INTERNAL "openmmapi/include/internal/*.h")
72+
INSTALL (FILES ${API_ONLY_INCLUDE_FILES_INTERNAL} DESTINATION include/internal)
7173

7274
# Enable testing
7375

0 commit comments

Comments
 (0)