Skip to content

Commit 59333f1

Browse files
committed
Fix issue with missing variable in if statement in cmake
1 parent c3eafa3 commit 59333f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Framework/cmake/CompileProject.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ else ()
6464
if (USE_OS_MODULE)
6565
if (ENABLE_DBUS_UTILS)
6666
if (NOT UIMGUI_SKIP_FRAMEWORK)
67-
target_link_libraries(UntitledImGuiFramework ${DBUS_LIBRARIES})
67+
target_link_libraries(UntitledImGuiFramework ${DBUS_LIBRARIES})
6868
endif()
69-
target_link_libraries(${APP_LIB_TARGET} ${DBUS_LIBRARIES})
69+
target_link_libraries(${APP_LIB_TARGET} ${DBUS_LIBRARIES})
7070
endif()
7171
if (ENABLE_UFONT_UTILS)
7272
endif()

Framework/cmake/SetupTargetSettings.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ else()
7373
endif()
7474

7575
if (NOT EMSCRIPTEN)
76-
if (NOT)
76+
if (NOT UIMGUI_SKIP_FRAMEWORK)
7777
target_compile_definitions(UntitledImGuiFramework PRIVATE "UIMGUI_COMPILE_LIB" "YAML_CPP_DLL" "URLL_USE_FUNCTIONAL"
7878
"MLS_EXPORT_LIBRARY" "MLS_LIB_COMPILE" "VULKAN_HPP_NO_STRUCT_CONSTRUCTORS")
7979
endif ()

0 commit comments

Comments
 (0)