Skip to content

Commit 94933e1

Browse files
committed
Use the correct install prefix for cmake includes.
Signed-off-by: Henner Zeller <[email protected]>
1 parent 5435f14 commit 94933e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/Cpp/runtime/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (NOT ANTLR_BUILD_SHARED AND NOT ANTLR_BUILD_STATIC)
77
message(FATAL_ERROR "Options ANTLR_BUILD_SHARED and ANTLR_BUILD_STATIC can't both be OFF")
88
endif()
99

10-
set(libantlrcpp_INCLUDE_INSTALL_DIR "include/antlr4-runtime")
10+
set(libantlrcpp_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/antlr4-runtime")
1111

1212
set(libantlrcpp_INCLUDE_DIRS
1313
${PROJECT_SOURCE_DIR}/runtime/src

0 commit comments

Comments
 (0)