Skip to content

Commit

Permalink
Use ../ instead of cmake_path(... PARENT_PATH ...).
Browse files Browse the repository at this point in the history
  • Loading branch information
ingomueller-net committed Mar 14, 2024
1 parent 907ac64 commit 1b89f8a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions export/planloader/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ add_test_case(
gtest
gtest_main)

cmake_path(GET CMAKE_CURRENT_SOURCE_DIR PARENT_PATH TEXTPLAN_SOURCE_DIR)
cmake_path(GET TEXTPLAN_SOURCE_DIR PARENT_PATH TEXTPLAN_SOURCE_DIR)
cmake_path(GET TEXTPLAN_SOURCE_DIR PARENT_PATH TEXTPLAN_SOURCE_DIR)
set(TEXTPLAN_SOURCE_DIR "${TEXTPLAN_SOURCE_DIR}/src/substrait/textplan")
set(TEXTPLAN_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../src/substrait/textplan")

add_custom_command(
TARGET planloader_test
Expand Down

0 comments on commit 1b89f8a

Please sign in to comment.