Skip to content

Commit c767579

Browse files
committed
Fix problems with VSCode IntelliSense
Correct the setting of CMAKE_MODULE_PATH to work with VSCode's CMake tools.
1 parent 14de3ee commit c767579

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ compute_and_write_csv_example
4141
compute_and_write_output.csv
4242
parquet-arrow-example.parquet
4343
reader_writer
44+
.ninja_deps
45+
.ninja_log
46+
Makefile
47+
.cache/

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
22

33
project(ArrowExamples)
44

5-
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "cmake_modules")
5+
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
66

77
# This ensures that things like gnu++11 get passed correctly
88
if(NOT DEFINED CMAKE_CXX_STANDARD)

0 commit comments

Comments
 (0)