Browse Source

Fix cmake build error dirent (#1536)

* Better ignore support for idea projects.

Added a wildcard at the end because different configurations would have a diffeerent build directory.

* Removed external from being a relative include directory for target raylib.

Fixes #1533
pull/1538/head
hristo 3 years ago
committed by GitHub
parent
commit
6cc27e9797
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      .gitignore
  2. +0
    -1
      src/CMakeLists.txt

+ 1
- 1
.gitignore View File

@ -82,7 +82,7 @@ DerivedData/
# Jetbrains project
.idea/
cmake-build-debug/
cmake-build-*/
# CMake stuff
CMakeCache.txt

+ 0
- 1
src/CMakeLists.txt View File

@ -105,7 +105,6 @@ target_include_directories(raylib
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/external
${CMAKE_BINARY_DIR} # For cmake/config.h
${OPENGL_INCLUDE_DIR}
${OPENAL_INCLUDE_DIR}

Loading…
Cancel
Save