Skip to content

Commit 1d957ee

Browse files
committed
Fix typo for mod file install destination
Thanks to @ascmplx for pointing this out. Fixes #452
1 parent 4997914 commit 1d957ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mpi/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ set_target_properties ( caf_mpi
150150
# Create a symlink in the include dir
151151
add_custom_command(TARGET caf_mpi
152152
POST_BUILD
153-
COMMAND ${CMAKE_COMMAND} -E create_symlink "./${mod_dir_tail}/opencoarrays.mod" "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_INCLUDEDIR}/opencaorrays.mod"
154-
COMMENT "Creating symlink ${CMAKE_INSTALL_INCLUDEDIR}/opencaorrays.mod --> ${CMAKE_INSTALL_INCLUDEDIR}/${mod_dir_tail}/opencoarrays.mod")
153+
COMMAND ${CMAKE_COMMAND} -E create_symlink "./${mod_dir_tail}/opencoarrays.mod" "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_INCLUDEDIR}/opencoarrays.mod"
154+
COMMENT "Creating symlink ${CMAKE_INSTALL_INCLUDEDIR}/opencoarrays.mod --> ${CMAKE_INSTALL_INCLUDEDIR}/${mod_dir_tail}/opencoarrays.mod")
155155

156156
install(DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_INCLUDEDIR}/" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
157157
FILES_MATCHING PATTERN "*.mod")

0 commit comments

Comments
 (0)