Skip to content

Commit

Permalink
Remove compiler ID from include directrory
Browse files Browse the repository at this point in the history
It adds the compiler ID to the include directory: include/mctc-lib/GNU-11.3.0/

This is very unconventional and unnecessary.

With this patch it now installs headers into include/mctc-lib which
aligns with the way how most projects install their headers.
  • Loading branch information
yurivict committed Aug 3, 2022
1 parent 05caf6c commit 1f09274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ option(WITH_JSON "Enable support for JSON parsing via json-fortran" FALSE)

set(
"${PROJECT_NAME}-module-dir"
"${PROJECT_NAME}/${CMAKE_Fortran_COMPILER_ID}-${CMAKE_Fortran_COMPILER_VERSION}"
"${PROJECT_NAME}"
CACHE STRING
"Subdirectory to install generated module files to"
)
Expand Down

0 comments on commit 1f09274

Please sign in to comment.