Skip to content

Commit 8131d0e

Browse files
committed
integrate imguizmo with 61_UI example
1 parent 83fcec1 commit 8131d0e

File tree

2 files changed

+360
-8
lines changed

2 files changed

+360
-8
lines changed

61_UI/CMakeLists.txt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
if(NBL_BUILD_IMGUI)
2-
include(common RESULT_VARIABLE RES)
3-
if(NOT RES)
4-
message(FATAL_ERROR "common.cmake not found. Should be in {repo_root}/cmake directory")
5-
endif()
6-
7-
list(APPEND libs
8-
"imgui"
2+
list(APPEND NBL_LIBRARIES
3+
imgui
4+
imguizmo
95
"${NBL_EXT_IMGUI_UI_LIB}"
106
)
117

12-
nbl_create_executable_project("" "" "" "${libs}" "${NBL_EXECUTABLE_PROJECT_CREATION_PCH_TARGET}")
8+
nbl_create_executable_project("" "" "" "${NBL_LIBRARIES}" "${NBL_EXECUTABLE_PROJECT_CREATION_PCH_TARGET}")
139
endif()

0 commit comments

Comments
 (0)