Skip to content

Commit

Permalink
Compatibility for older cmake version < 3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
gerstrong committed Oct 20, 2023
1 parent eee655b commit 1645a70
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ add_custom_target(
COMMAND xxd -i gamelauncher.menu ${CMAKE_CURRENT_BINARY_DIR}/gamelauncher.menu.h
)

target_sources(createGameLauncherMenu
PRIVATE
gameselector.h gameselector.cpp
)
set_property(TARGET createGameLauncherMenu APPEND PROPERTY SOURCES gameselector.h gameselector.cpp)

add_dependencies(engine createGameLauncherMenu)

Expand Down

0 comments on commit 1645a70

Please sign in to comment.