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 54b11cc

Browse files
committedFeb 11, 2023
[Cpp] CMake: include GNUInstallDirs unconditionally to have CMAKE_INSTALL_DOCDIR available
Signed-off-by: Joachim Mairböck <[email protected]>
1 parent 57500b0 commit 54b11cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎runtime/Cpp/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,11 @@ if(WITH_DEMO)
158158
add_subdirectory(demo)
159159
endif(WITH_DEMO)
160160

161+
include(GNUInstallDirs)
162+
161163
# Generate CMake Package Files only if install is active
162164
if (ANTLR4_INSTALL)
163165

164-
include(GNUInstallDirs)
165166
include(CMakePackageConfigHelpers)
166167

167168
if(NOT ANTLR4_CMAKE_DIR)

0 commit comments

Comments
 (0)
Please sign in to comment.