We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517fc11 commit 968c12aCopy full SHA for 968c12a
1 file changed
tests/CMakeLists.txt
@@ -7,7 +7,7 @@ if(NOT CMAKE_BUILD_TYPE)
7
set(CMAKE_BUILD_TYPE "Release")
8
endif()
9
10
-set(ANTLR_DIR ../libs/antlr-2.7.7)
+set(ANTLR_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../libs/antlr-2.7.7)
11
add_subdirectory(${ANTLR_DIR} ${CMAKE_CURRENT_BINARY_DIR}/antlr)
12
13
if(USE_QT5)
@@ -39,7 +39,7 @@ if(NOT USE_QT5)
39
QT4_WRAP_CPP(SQLB_MOC ${SQLB_MOC_HDR})
40
41
42
-include_directories(${CMAKE_CURRENT_BINARY_DIR}/${ANTLR_DIR})
+include_directories(${ANTLR_DIR})
43
44
add_executable(${PROJECT_NAME} ${SQLB_MOC} ${SQLB_HDR} ${SQLB_SRC})
45
0 commit comments