diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d3ea50..809251a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,6 +108,9 @@ include_directories(${VORBISFILE_INCLUDE_DIR}) find_package(OpenAL REQUIRED) include_directories(${OPENAL_INCLUDE_DIR}) +find_package(X11 REQUIRED) +include_directories(${X11_INCLUDE_DIR}) + if (SDL2) # skip SDL2main if(APPLE OR WIN32) diff --git a/sys/sys_public.h b/sys/sys_public.h index 150b16f..fbac1a8 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -41,7 +41,7 @@ typedef enum { CPUID_SSE2 = 0x00080, // Streaming SIMD Extensions 2 CPUID_SSE3 = 0x00100, // Streaming SIMD Extentions 3 aka Prescott's New Instructions CPUID_ALTIVEC = 0x00200, // AltiVec -} cpuid_t; +} cpuidSimd_t; typedef enum { AXIS_SIDE,