Skip to content

Commit

Permalink
Fix #5 (from another branch)
Browse files Browse the repository at this point in the history
  • Loading branch information
jc-SpaceXp committed Dec 11, 2024
1 parent 35c6cd3 commit eb47d48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ add_library(coresrcs ${CORESRCS})
target_include_directories(coresrcs PRIVATE
${INCCOREDIR}
${INCUTILDIR}
"$<$<BOOL:${sdl2_SOURCE_DIR}>:${sdl2_SOURCE_DIR}/include}>"
"$<$<BOOL:${sdl2_BINARY_DIR}>:${sdl2_BINARY_DIR}/include>"
)
target_compile_options(coresrcs PRIVATE)

Expand All @@ -141,6 +141,8 @@ target_include_directories(${SRCTARGET} PRIVATE
${INCDIR}
${INCUTILDIR}
${INCCOREDIR}
"$<$<BOOL:${sdl2_BINARY_DIR}>:${sdl2_BINARY_DIR}/include>"
"$<$<BOOL:${sdl2_SOURCE_DIR}>:${sdl2_SOURCE_DIR}/include>"
)

target_link_libraries(utilsrcs PRIVATE common ${COVERAGE_FLAGS})
Expand Down
1 change: 1 addition & 0 deletions src/core/emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <SDL2/SDL_keycode.h>

#define A_BUTTON 0x01U
Expand Down

0 comments on commit eb47d48

Please sign in to comment.