Skip to content

Commit 05938ab

Browse files
committed
build: capitalized duktape package has precedence
1 parent ce04a1b commit 05938ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ string(REGEX REPLACE " /W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
103103
find_package(fmt REQUIRED CONFIG)
104104

105105
# Duktape
106-
find_package(duktape CONFIG)
106+
find_package(Duktape CONFIG)
107107
if (NOT DUKTAPE_FOUND)
108108
# Duktape doesn't nativelly support CMake.
109109
# Some config script patches use the capitalized version.
110-
find_package(Duktape REQUIRED CONFIG)
110+
find_package(duktape REQUIRED CONFIG)
111111
endif()
112112

113113
unset(CMAKE_FOLDER)

0 commit comments

Comments
 (0)