Skip to content

Commit 3dd4b00

Browse files
committed
Update cmake for Recast,Graph
1 parent b579d43 commit 3dd4b00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ subdirs (Projects/SpineCpp)
270270
endif()
271271

272272
# recast & graph
273-
if (BUILD_RECAST_GRAPH)
273+
if (BUILD_SKYLICHT_GRAPH)
274274
add_definitions(-DBUILD_SKYLICHT_GRAPH)
275275
subdirs (Projects/Skylicht/Graph)
276276
endif()

SkylichtConfig.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
option(BUILD_IMGUI "Build Ocornut Imgui" ON)
22
option(BUILD_FREETYPE "Build freetype font library" ON)
33
option(BUILD_SPINE_RUNTIMES "Build spine runtimes library" ON)
4-
option(BUILD_RECAST_GRAPH "Build recast, graph library" ON)
54
option(BUILD_SKYLICHT_AUDIO "Build with audio engine" ON)
65
option(BUILD_SKYLICHT_COMPONENTS "Build with components" ON)
76
option(BUILD_SKYLICHT_LIGHMAPPER "Build with lightmapper" ON)
@@ -12,4 +11,5 @@ option(BUILD_SKYLICHT_NETWORK "Build with Http, Socket module" ON)
1211
option(BUILD_BULLET_PHYSIC_LIB "Build bullet physic" ON)
1312
option(BUILD_SKYLICHT_PHYSIC "Build with physic engine" ON)
1413
option(BUILD_EDITOR_GUI_LIB "Build editor gui library" ON)
14+
option(BUILD_SKYLICHT_GRAPH "Build recast, graph library" ON)
1515
option(BUILD_EXAMPLES "Build example projects" ON)

0 commit comments

Comments
 (0)