mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-11-20 04:32:23 +00:00
Fixed building through CMake
This commit is contained in:
parent
738e2d3bd1
commit
1c77057860
@ -11,6 +11,8 @@ set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
|
||||
if (NOT WIN32)
|
||||
find_package(SDL2 REQUIRED)
|
||||
include_directories(${SDL2_INCLUDE_DIRS})
|
||||
else()
|
||||
include_directories("${PROJECT_SOURCE_DIR}/thirdparty/SDL2/include/")
|
||||
if (UNIX AND NOT APPLE)
|
||||
find_package (Threads)
|
||||
endif()
|
||||
|
@ -21,7 +21,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#include "displayid.h"
|
||||
#include <thirdparty/loguru/loguru.hpp>
|
||||
#include "thirdparty/SDL2/include/SDL.h"
|
||||
#include "SDL.h"
|
||||
|
||||
DisplayID::DisplayID() {
|
||||
/* Initialize Apple monitor codes */
|
||||
|
@ -33,7 +33,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#ifndef DISPLAY_ID_H
|
||||
#define DISPLAY_ID_H
|
||||
|
||||
#include "thirdparty/SDL2/include/SDL.h"
|
||||
#include "SDL.h"
|
||||
#include <cinttypes>
|
||||
|
||||
/** I2C bus states. */
|
||||
|
Loading…
Reference in New Issue
Block a user