mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 16:37:56 +08:00
24 lines
735 B
Diff
24 lines
735 B
Diff
From 6301c4ccaf8d3b6982898fed84e691ab8ddd7a4f Mon Sep 17 00:00:00 2001
|
|
From: Robert Schumacher <roschuma@microsoft.com>
|
|
Date: Fri, 23 Feb 2018 03:12:45 -0800
|
|
Subject: [PATCH 2/3] link glew
|
|
|
|
|
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 80734fb..70e755b 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -556,7 +556,8 @@ ENDIF("${WT_WRASTERIMAGE_IMPLEMENTATION}" STREQUAL "GraphicsMagick")
|
|
IF(HAVE_GL)
|
|
INCLUDE_DIRECTORIES(${GL_INCLUDE_DIRS})
|
|
IF(USE_SYSTEM_GLEW)
|
|
- TARGET_LINK_LIBRARIES(wt PRIVATE GLEW)
|
|
+ find_package(glew REQUIRED)
|
|
+ TARGET_LINK_LIBRARIES(wt PRIVATE GLEW::GLEW)
|
|
ENDIF(USE_SYSTEM_GLEW)
|
|
TARGET_LINK_LIBRARIES(wt PRIVATE ${GL_LIBRARIES})
|
|
ELSE(HAVE_GL)
|
|
--
|
|
2.16.2.windows.1
|
|
|