Skip to content

Commit b3279e9

Browse files
authored
cmake: print status message with found SDL2 version (#195)
Sometimes it is nice to have the info which SDL2 version was found/is in use.
1 parent 28d7257 commit b3279e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ target_include_directories(sim-base PUBLIC "lv_drivers")
114114
target_include_directories(sim-base PUBLIC "${InfiniTime_DIR}/src") # InfiniTime drivers, components and all
115115

116116
find_package(SDL2 REQUIRED)
117+
message(STATUS "Found SDL2 version ${SDL2_VERSION}")
117118
target_link_libraries(sim-base PUBLIC SDL2::SDL2)
118119

119120
set(MONITOR_ZOOM 1 CACHE STRING "Scale simulator window by this factor")

0 commit comments

Comments
 (0)