cmake/windows: Set LLVM_INCLUDE_DIRS variable.
authorRay Molenkamp <github@lazydodo.com>
Fri, 8 Mar 2019 14:17:56 +0000 (07:17 -0700)
committerRay Molenkamp <github@lazydodo.com>
Fri, 8 Mar 2019 14:19:48 +0000 (07:19 -0700)
build_files/cmake/platform/platform_win32.cmake

index 02c346e..827357d 100644 (file)
@@ -427,6 +427,7 @@ endif()
 
 if(WITH_LLVM)
        set(LLVM_ROOT_DIR ${LIBDIR}/llvm CACHE PATH     "Path to the LLVM installation")
+       set(LLVM_INCLUDE_DIRS ${LLVM_ROOT_DIR}/$<$<CONFIG:Debug>:Debug>/include CACHE PATH      "Path to the LLVM include directory")
        file(GLOB LLVM_LIBRARY_OPTIMIZED ${LLVM_ROOT_DIR}/lib/*.lib)
 
        if(EXISTS ${LLVM_ROOT_DIR}/debug/lib)