Skip to content

Commit

Permalink
Fixed IDE folder issues for VC++.
Browse files Browse the repository at this point in the history
Fixes #328.
  • Loading branch information
elmindreda committed Jan 6, 2015
1 parent d311e28 commit 023f337
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -16,6 +16,8 @@ set(GLFW_VERSION "${GLFW_VERSION_MAJOR}.${GLFW_VERSION_MINOR}")
set(GLFW_VERSION_FULL "${GLFW_VERSION}.${GLFW_VERSION_PATCH}${GLFW_VERSION_EXTRA}")
set(LIB_SUFFIX "" CACHE STRING "Takes an empty string or 64. Directory where lib will be installed: lib or lib64")

set_property(GLOBAL PROPERTY USE_FOLDERS ON)

option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
option(GLFW_BUILD_EXAMPLES "Build the GLFW example programs" ON)
option(GLFW_BUILD_TESTS "Build the GLFW test programs" ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Expand Up @@ -52,7 +52,7 @@ else()
add_executable(splitview WIN32 splitview.c)
add_executable(wave WIN32 wave.c)

set_target_properties(boing gears particles simple splitview wave PROPERTIES
set_target_properties(boing gears heightmap particles simple splitview wave PROPERTIES
FOLDER "GLFW3/Examples")
endif()

Expand Down

0 comments on commit 023f337

Please sign in to comment.