File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ set(LIBRARY_SOVERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}")
6060
6161# cmake modules
6262
63- set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake-modules)
63+ set (H_CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake-modules)
64+ list (APPEND CMAKE_MODULE_PATH "${H_CMAKE_MODULE_PATH} " )
6465
6566include (GNUInstallDirs)
6667include (CheckSymbolExists)
@@ -313,7 +314,7 @@ if (BUILD_HOEL_TESTING)
313314 set (TESTS core multi)
314315
315316 configure_file (
316- "${CMAKE_MODULE_PATH } /CTestCustom.cmake.in"
317+ "${H_CMAKE_MODULE_PATH } /CTestCustom.cmake.in"
317318 "${CMAKE_CURRENT_BINARY_DIR} /CTestCustom.cmake"
318319 @ONLY)
319320
@@ -375,7 +376,7 @@ endif ()
375376
376377if (NOT TARGET uninstall)
377378 configure_file (
378- "${CMAKE_MODULE_PATH } /CMakeUninstall.cmake.in"
379+ "${H_CMAKE_MODULE_PATH } /CMakeUninstall.cmake.in"
379380 "${CMAKE_CURRENT_BINARY_DIR} /cmake_uninstall.cmake"
380381 IMMEDIATE @ONLY)
381382 add_custom_target (uninstall
You can’t perform that action at this time.
0 commit comments