diff --git a/cmake/UnitTest.cmake b/cmake/UnitTest.cmake index 47bfb440..4466647a 100644 --- a/cmake/UnitTest.cmake +++ b/cmake/UnitTest.cmake @@ -2,7 +2,7 @@ message("Building for unit tests...") message("Generating empty headers to suppress compiler errors") -file(GLOB BASEDIR ../Tests) +file(GLOB BASEDIR Tests) set(BASEDIR ${BASEDIR}/headers) set(EMPTY_HEADERS_DIRS ${BASEDIR} @@ -33,7 +33,7 @@ include_directories(${EMPTY_HEADERS_DIRS}) message("Adding compiler and linker options for all targets") -file(GLOB BASEDIR ../Tests/mocks) +file(GLOB BASEDIR Tests/mocks) set(FAKE_HEADERS ${BASEDIR}/Iarm.h )