File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
examples/protonect/cmake_modules Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 88include (FindPackageHandleStandardArgs)
99
1010IF (${CMAKE_SYSTEM_NAME} MATCHES "Windows" )
11- find_path (GLFW3_INCLUDE_DIRS glfw/glfw3.h DOC "GLFW include directory " HINTS $ENV{GLFW_ROOT} /include )
11+ find_path (GLFW3_INCLUDE_DIRS
12+ glfw/glfw3.h
13+ DOC "GLFW include directory "
14+ PATHS $ENV{ProgramW6432} /glfw/include $ENV{GLFW_ROOT} /include )
1215
13- find_library (GLFW3_LIBRARIES NAMES glfw3dll.lib HINTS $ENV{GLFW_ROOT} /lib/)
16+ find_library (GLFW3_LIBRARIES
17+ NAMES glfw3.lib glfw3dll.lib
18+ PATHS $ENV{ProgramW6432} /glfw/lib/ $ENV{GLFW_ROOT} /lib/)
1419ENDIF ()
1520
1621find_package_handle_standard_args(GLFW3 "Could not find GLFW3 - try adding GLFW_ROOT in enviroment variables." GLFW3_INCLUDE_DIRS GLFW3_LIBRARIES)
You can’t perform that action at this time.
0 commit comments