Skip to content

Commit

Permalink
cmake: skip dotfile modules
Browse files Browse the repository at this point in the history
  • Loading branch information
juhanikataja committed Jan 9, 2017
1 parent 0d39fed commit 783963a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/Modules/AddModules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ MACRO(ADD_ELMER_MODULES)
LIST(FIND _parsedArgs_SKIP ${FNAME} FILE_INDEX)
IF(FILE_INDEX EQUAL -1)
GET_FILENAME_COMPONENT(BASENAME ${FNAME} NAME_WE)
ADD_ELMER_MODULE(${BASENAME})
IF(NOT BASENAME STREQUAL "")
ADD_ELMER_MODULE(${BASENAME})
ENDIF()
MATH(EXPR num_modules "${num_modules}+1")
ENDIF()
ENDFOREACH()
Expand Down

0 comments on commit 783963a

Please sign in to comment.