Commit 39044153 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix antl3rc include path when building with CMake.

parent fb3a727b
...@@ -83,7 +83,7 @@ find_package(Threads) ...@@ -83,7 +83,7 @@ find_package(Threads)
find_package(Antlr3 REQUIRED) find_package(Antlr3 REQUIRED)
if(ANTLR3C_FOUND) if(ANTLR3C_FOUND)
cmake_push_check_state(RESET) cmake_push_check_state(RESET)
set(CMAKE_REQUIRED_INCLUDES ${ANTLR3C_INCLUDE_DIR}) set(CMAKE_REQUIRED_INCLUDES ${ANTLR3C_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES ${ANTLR3C_LIBRARIES}) set(CMAKE_REQUIRED_LIBRARIES ${ANTLR3C_LIBRARIES})
check_symbol_exists("antlr3StringStreamNew" "antlr3.h" HAVE_ANTLR_STRING_STREAM_NEW) check_symbol_exists("antlr3StringStreamNew" "antlr3.h" HAVE_ANTLR_STRING_STREAM_NEW)
cmake_pop_check_state() cmake_pop_check_state()
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
# #
############################################################################ ############################################################################
set(INCLUDES ${ANTLR3C_INCLUDE_DIR}) set(INCLUDES ${ANTLR3C_INCLUDE_DIRS})
set(LIBS ${ANTLR3C_LIBRARIES}) set(LIBS ${ANTLR3C_LIBRARIES})
if(${Threads_FOUND}) if(${Threads_FOUND})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment