Skip to content

Commit 074ab59

Browse files
committed
Merge branch 'skia_2024'
2 parents 261a0f5 + cba0b28 commit 074ab59

File tree

5 files changed

+380
-178
lines changed

5 files changed

+380
-178
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.

lib/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ target_compile_options(elements PRIVATE
203203

204204
if (MSVC)
205205
# Kinda silly to have to do this: https://bit.ly/2ZXjzzn
206-
STRING(REGEX REPLACE "/W3" "/W4" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
206+
STRING(REGEX REPLACE "/W3" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
207207
endif()
208208

209209
if (APPLE)

0 commit comments

Comments
 (0)