Skip to content

Commit 15dd890

Browse files
committed
cmake: include GNUIncludeDirs for proper access to its variables
1 parent 18e39cd commit 15dd890

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ else()
8282
message("LLVM ${LLVM_VERSION} found")
8383
endif()
8484

85+
include(GNUInstallDirs)
86+
8587
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
8688
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
8789
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

0 commit comments

Comments
 (0)