Skip to content

Commit febe7c3

Browse files
committed
Remove unused BUILD_DIR definition
1 parent 5355476 commit febe7c3

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

tests/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ find_package(GTest)
44

55
add_executable(${PROJECT_NAME} directory.cpp file.cpp)
66
target_link_libraries(${PROJECT_NAME} tmp::tmp GTest::gtest_main)
7-
target_compile_definitions(${PROJECT_NAME}
8-
PRIVATE BUILD_DIR="${CMAKE_CURRENT_BINARY_DIR}")
97

108
# On some platforms (e.g. Windows) CMake doesn't write load paths properly
119
# This solution to put outputs in the same directory is good enough

tests/meson.build

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ unit_test = executable(
55
'directory.cpp',
66
'file.cpp',
77
dependencies: [gtest_main_dep, tmp_dep],
8-
cpp_args: [
9-
'-DBUILD_DIR="' + meson.current_build_dir() + '"',
10-
],
118
build_by_default: false,
129
)
1310

0 commit comments

Comments
 (0)