Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
39044153
Commit
39044153
authored
Mar 05, 2015
by
Ghislain MARY
Browse files
Fix antl3rc include path when building with CMake.
parent
fb3a727b
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
39044153
...
...
@@ -83,7 +83,7 @@ find_package(Threads)
find_package
(
Antlr3 REQUIRED
)
if
(
ANTLR3C_FOUND
)
cmake_push_check_state
(
RESET
)
set
(
CMAKE_REQUIRED_INCLUDES
${
ANTLR3C_INCLUDE_DIR
}
)
set
(
CMAKE_REQUIRED_INCLUDES
${
ANTLR3C_INCLUDE_DIR
S
}
)
set
(
CMAKE_REQUIRED_LIBRARIES
${
ANTLR3C_LIBRARIES
}
)
check_symbol_exists
(
"antlr3StringStreamNew"
"antlr3.h"
HAVE_ANTLR_STRING_STREAM_NEW
)
cmake_pop_check_state
()
...
...
src/CMakeLists.txt
View file @
39044153
...
...
@@ -20,7 +20,7 @@
#
############################################################################
set
(
INCLUDES
${
ANTLR3C_INCLUDE_DIR
}
)
set
(
INCLUDES
${
ANTLR3C_INCLUDE_DIR
S
}
)
set
(
LIBS
${
ANTLR3C_LIBRARIES
}
)
if
(
${
Threads_FOUND
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment