Skip to content

Commit

Permalink
Changed path of module.modulemap
Browse files Browse the repository at this point in the history
  • Loading branch information
imorlxs committed Aug 27, 2024
1 parent 73b7df5 commit 1b0dee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/RootMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ function (ROOT_CXXMODULES_APPEND_TO_MODULEMAP library library_headers)
# exposed via the main modulemap. This is exposed by setting the
# ROOT_CXXMODULES_WRITE_TO_CURRENT_DIR.
if (NOT "${CMAKE_PROJECT_NAME}" STREQUAL ROOT OR ROOT_CXXMODULES_WRITE_TO_CURRENT_DIR)
set(modulemap_output_file "${CMAKE_CURRENT_BINARY_DIR}/module.modulemap")
set(modulemap_output_file "${CMAKE_SOURCE_DIR}/src/module.modulemap")

# It's possible that multiple modulemaps are needed in the current
# directory and we need to merge them. As we don't want to have multiple
Expand Down

0 comments on commit 1b0dee0

Please sign in to comment.