Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ target_include_directories(libocca PUBLIC
target_include_directories(libocca PRIVATE
$<BUILD_INTERFACE:${OCCA_SOURCE_DIR}/src>)

target_compile_definitions(libocca PRIVATE -DUSE_CMAKE)
if (OCCA_CLANG_BASED_TRANSPILER)
target_link_libraries(libocca PRIVATE occa::occa-transpiler)
target_compile_definitions(libocca PRIVATE -DBUILD_WITH_CLANG_BASED_TRANSPILER)
Expand Down
3 changes: 0 additions & 3 deletions tests/src/internal/io/cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ void testHashDir();
void testBuild();

int main(const int argc, const char **argv) {
#ifndef USE_CMAKE
occa::env::OCCA_CACHE_DIR = occa::io::dirname(__FILE__);
#endif
srand(time(NULL));

testCacheInfoMethods();
Expand Down
3 changes: 0 additions & 3 deletions tests/src/internal/io/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ void testDirMethods();
void testIOMethods();

int main(const int argc, const char **argv) {
#ifndef USE_CMAKE
occa::env::OCCA_CACHE_DIR = "/occa/cache/dir/";
#endif
srand(time(NULL));

testPathMethods();
Expand Down