Skip to content

Commit

Permalink
if Win32, shlwapi
Browse files Browse the repository at this point in the history
  • Loading branch information
Mormert committed Jun 21, 2023
1 parent 24c9b82 commit a8b3556
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ set(FREETYPE_LIBRARY freetype)
add_definitions(-DRMLUI_STATIC_LIB)
set(BUILD_SAMPLES OFF)
add_subdirectory(3rdparty/git_submodules/RmlUi)
target_link_libraries(engine PRIVATE shlwapi imm32) # shlwapi and imm32 needed for "shell"
if (WIN32)
target_link_libraries(engine PRIVATE shlwapi imm32) # shlwapi and imm32 needed for "shell"
endif()
target_include_directories(engine PUBLIC 3rdparty/git_submodules/RmlUi/Include RmlUiImplementation RmlUiImplementation/shell/include)
target_link_libraries(engine PUBLIC RmlCore RmlDebugger)

Expand Down

0 comments on commit a8b3556

Please sign in to comment.