File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -277,10 +277,10 @@ function(cpm_create_module_file Name)
277277 # https://cmake.org/cmake/help/latest/module/FetchContent.html#fetchcontent-find-package-integration-examples
278278 string (TOLOWER ${Name} NameLower)
279279 file (WRITE ${CMAKE_FIND_PACKAGE_REDIRECTS_DIR} /${NameLower} -config.cmake
280- "include(\" ${CMAKE_CURRENT_LIST_DIR} /${NameLower} -extra.cmake\" OPTIONAL)\n "
281- "include(\" ${CMAKE_CURRENT_LIST_DIR} /${Name} Extra.cmake\" OPTIONAL)\n "
280+ "include(\"\ $ {CMAKE_CURRENT_LIST_DIR}/${NameLower} -extra.cmake\" OPTIONAL)\n "
281+ "include(\"\ $ {CMAKE_CURRENT_LIST_DIR}/${Name} Extra.cmake\" OPTIONAL)\n "
282282 )
283- file (WRITE ${CMAKE_FIND_PACKAGE_REDIRECTS_DIR} /${NameLower} -version .cmake
283+ file (WRITE ${CMAKE_FIND_PACKAGE_REDIRECTS_DIR} /${NameLower} -config- version .cmake
284284 "set(PACKAGE_VERSION_COMPATIBLE TRUE)\n " "set(PACKAGE_VERSION_EXACT TRUE)\n "
285285 )
286286 else ()
You can’t perform that action at this time.
0 commit comments