first glfw window for windows

This commit is contained in:
2018-09-19 17:29:39 +03:00
parent d9b57d9679
commit 90eb92d1b9
9 changed files with 34 additions and 19 deletions

View File

@@ -89,12 +89,12 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
# 3rd party
#
if(APPLE)
if(WIN32 OR APPLE)
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
add_subdirectory(modules/glfw)
endif(APPLE)
endif(WIN32 OR APPLE)
#
# subdirectories