Skip to content

Commit 1d915f4

Browse files
committed
Set CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
1 parent 3da1534 commit 1d915f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ if(POLICY CMP0037 AND ${CMAKE_VERSION} VERSION_LESS "3.11.0")
88
cmake_policy(SET CMP0037 OLD)
99
endif()
1010

11-
include_directories (${CMAKE_SOURCE_DIR}
12-
${CMAKE_SOURCE_DIR}/src
13-
${CMAKE_SOURCE_DIR}/test
11+
include_directories (${CMAKE_CURRENT_SOURCE_DIR}
12+
${CMAKE_CURRENT_SOURCE_DIR}/src
13+
${CMAKE_CURRENT_SOURCE_DIR}/test
1414
${SHARED_INCLUDE_DIRS})
1515

1616
set (test_SRCS args.t autocomplete.t charliteral.t composite.t color.t configuration.t dates.t datetime.t duration.t external.t format.t fs.t intrinsic.t json.t json_test lexer.t list.t msg.t negative.t palette.t peg.t pig.t plus.t positive.t question.t rx.t sax_test shared.t star.t stringliteral.t table.t timer.t tree.t unicode.t utf8.t)

0 commit comments

Comments
 (0)