Skip to content

Commit

Permalink
build: capitalized duktape package has precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Jun 1, 2024
1 parent ce04a1b commit 05938ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ string(REGEX REPLACE " /W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
find_package(fmt REQUIRED CONFIG)

# Duktape
find_package(duktape CONFIG)
find_package(Duktape CONFIG)
if (NOT DUKTAPE_FOUND)
# Duktape doesn't nativelly support CMake.
# Some config script patches use the capitalized version.
find_package(Duktape REQUIRED CONFIG)
find_package(duktape REQUIRED CONFIG)
endif()

unset(CMAKE_FOLDER)
Expand Down

0 comments on commit 05938ab

Please sign in to comment.