From 11376a2dd0c96a3d3bce62e1b2c3094af7075cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 17 Nov 2016 14:22:27 +0100 Subject: [PATCH] Cleanup --- examples/CMakeLists.txt | 4 +--- tests/CMakeLists.txt | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 6132b977..78642f73 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,7 +1,7 @@ link_libraries(glfw) -include_directories(${glfw_INCLUDE_DIRS}) +include_directories(${glfw_INCLUDE_DIRS} "${GLFW_SOURCE_DIR}/deps") if (BUILD_SHARED_LIBS) link_libraries("${MATH_LIBRARY}") @@ -15,8 +15,6 @@ if (GLFW_USE_OSMESA) add_definitions(-DUSE_NATIVE_OSMESA) endif() -include_directories("${GLFW_SOURCE_DIR}/deps") - if (WIN32) set(ICON glfw.rc) elseif (APPLE) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3c43c7f9..1f82d9f7 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,7 +1,7 @@ link_libraries(glfw) -include_directories(${glfw_INCLUDE_DIRS}) +include_directories(${glfw_INCLUDE_DIRS} "${GLFW_SOURCE_DIR}/deps") if (BUILD_SHARED_LIBS) link_libraries("${MATH_LIBRARY}") @@ -11,8 +11,6 @@ if (MSVC) add_definitions(-D_CRT_SECURE_NO_WARNINGS) endif() -include_directories("${GLFW_SOURCE_DIR}/deps") - set(GLAD "${GLFW_SOURCE_DIR}/deps/glad/glad.h" "${GLFW_SOURCE_DIR}/deps/glad.c") set(GETOPT "${GLFW_SOURCE_DIR}/deps/getopt.h"