diff --git a/cmake/Scripts/IFEMTesting.cmake b/cmake/Scripts/IFEMTesting.cmake index c59555da..a80e1cb8 100644 --- a/cmake/Scripts/IFEMTesting.cmake +++ b/cmake/Scripts/IFEMTesting.cmake @@ -38,7 +38,7 @@ macro(IFEM_add_unittests IFEM_PATH) endif() if(LRSPLINE_FOUND OR LRSpline_FOUND) - file(GLOB LR_TEST_SRCS ${PROJECT_SOURCE_DIR}/src/ASM/LR/Test/*.C) + file(GLOB LR_TEST_SRCS ${IFEM_PATH}/src/ASM/LR/Test/*.C) list(APPEND TEST_SOURCES ${LR_TEST_SRCS}) else() list(REMOVE_ITEM TEST_SOURCES ${IFEM_PATH}/src/Utility/Test/TestFieldFunctionsLR.C)