Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9ef1d78

Browse files
committedMar 19, 2025·
Use the correct install prefix for cmake includes.
1 parent 5435f14 commit 9ef1d78

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)
Please sign in to comment.