Skip to content

Commit

Permalink
Only Emscripten codepath should do find_program(sqlite3)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Dec 8, 2023
1 parent 142a5cd commit 4160454
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ ExternalProject_Add(
-DCMAKE_TOOLCHAIN_FILE='${CMAKE_TOOLCHAIN_FILE}'
-DVCPKG_TARGET_TRIPLET='${VCPKG_TARGET_TRIPLET}'
)
find_program(EXE_SQLITE3 sqlite3)
if (EMSCRIPTEN)
find_program(EXE_SQLITE3 sqlite3)
endif()
set(GDAL_DEPENDENCIES ${GDAL_DEPENDENCIES} ZLIB)

# SQLite3
Expand Down

0 comments on commit 4160454

Please sign in to comment.