Skip to content

Commit bbe8b35

Browse files
committed
cmake: ext deps
1 parent c88c902 commit bbe8b35

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

build/cmake/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ project(${name})
77
# Otherwise VCPKG does not set the CMAKE_PREFIX_PATH to find packages.
88
find_package(myci CONFIG REQUIRED)
99

10+
find_package(JPEG REQUIRED)
11+
find_package(GLEW REQUIRED)
12+
1013
set(srcs)
1114
myci_add_source_files(srcs
1215
DIRECTORY
@@ -37,6 +40,6 @@ myci_declare_library(${name}-opengl
3740
ruis-render-opengl
3841
Freetype
3942
EXTERNAL_DEPENDENCIES
40-
JPEG
41-
GLEW
43+
JPEG::JPEG
44+
GLEW::GLEW
4245
)

0 commit comments

Comments
 (0)