diff options
| author | hristo <[email protected]> | 2021-01-16 15:04:01 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-16 14:04:01 +0100 |
| commit | 6cc27e979769affcc9d094143c03efd5872e70b9 (patch) | |
| tree | be8bed46834f09c59fa04590ae4de00c22a5c966 | |
| parent | 1866be047578fbe38e3e857ae047ce84d92870ee (diff) | |
| download | raylib-6cc27e979769affcc9d094143c03efd5872e70b9.tar.gz raylib-6cc27e979769affcc9d094143c03efd5872e70b9.zip | |
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
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | src/CMakeLists.txt | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -82,7 +82,7 @@ DerivedData/ # Jetbrains project .idea/ -cmake-build-debug/ +cmake-build-*/ # CMake stuff CMakeCache.txt diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b94ac149..3319ef03 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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} |
