Skip to content

Commit ce9c43b

Browse files
committed
Merge branch 'module_install_w_IDEs' of github.com:zbeekman/json-fortran into add_matrix_support
2 parents 34a446e + 0bf4831 commit ce9c43b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,10 @@ install ( TARGETS ${LIB_NAME} ${LIB_NAME}-static
386386
# Code to fix the dylib install name on Mac.
387387
include ( cmake/fixupInstallNameDir.cmake )
388388

389-
install ( DIRECTORY "${MODULE_DIR}/" DESTINATION "${INSTALL_MOD_DIR}" )
389+
install ( DIRECTORY "${MODULE_DIR}/" DESTINATION "${INSTALL_MOD_DIR}"
390+
FILES_MATCHING
391+
PATTERN "*.*"
392+
PATTERN "*/" EXCLUDE) # Don't get $<CONFIG> subdirectory when building with MSVS
390393

391394
#------------------------------------------
392395
# Add portable unistall command to makefile

0 commit comments

Comments
 (0)