From fb635e50694e95ed4369f44b5f3456f1e2783d97 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Sat, 24 May 2014 12:54:12 +0900 Subject: [PATCH] dont use bits folder --- CMakeLists.txt | 2 -- CMakeLists_mingw.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55a4fb06e2..1ac432ad6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,9 +46,7 @@ if (UNIX) # find and include SDL2 INCLUDE(FindPkgConfig) PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2) - INCLUDE_DIRECTORIES("/usr/include") INCLUDE_DIRECTORIES(${SDL2_INCLUDE_DIRS}) - INCLUDE_DIRECTORIES("/usr/include/x86_64-linux-gnu/bits") TARGET_LINK_LIBRARIES(${PROJECT} ${SDL2_LIBRARIES}) endif (UNIX) diff --git a/CMakeLists_mingw.txt b/CMakeLists_mingw.txt index bfa9a19885..1f92220945 100644 --- a/CMakeLists_mingw.txt +++ b/CMakeLists_mingw.txt @@ -19,7 +19,7 @@ include_directories("/usr/include/wine/windows/") # INCLUDE(FindPkgConfig) # PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2) INCLUDE_DIRECTORIES("/usr/include") -INCLUDE_DIRECTORIES("/usr/include/x86_64-linux-gnu/bits") +INCLUDE_DIRECTORIES("/usr/include/x86_64-linux-gnu") INCLUDE_DIRECTORIES("/usr/include/sdl2") # here is the target environment located