Skip to content

Commit cba0b28

Browse files
committed
fixes missing .cmake
1 parent 5255225 commit cba0b28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/setup.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ cd build
160160
You will need to tell cmake the location of the vcpkg toolchain file. That way, `find_package` will know where to find the installed libraries. If you installed vcpkg in `c:\` as suggested, you invoke cmake like this:
161161

162162
----
163-
cmake -G"Visual Studio 17 2022" -D CMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg ../
163+
cmake -G"Visual Studio 17 2022" -D CMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake ../
164164
----
165165

166166
If successful, cmake will generate a Visual Studio solution in the build directory. Open the project file `elements.sln` and build all. You should see a couple of example applications.
@@ -183,7 +183,7 @@ cd build
183183
Again, you will need to tell cmake the location of the vcpkg toolchain file. If you installed vcpkg in `c:\` as suggested, you invoke cmake like this:
184184

185185
----
186-
cmake -G"NMake Makefiles" -D CMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg ../
186+
cmake -G"NMake Makefiles" -D CMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake ../
187187
----
188188

189189
If successful, cmake will generate NMake Make files in the build directory. Invoke `nmake` to build the binary.

0 commit comments

Comments
 (0)