|
|
@ -132,14 +132,8 @@ endif()
|
|
|
|
find_package(Perl REQUIRED)
|
|
|
|
find_package(Perl REQUIRED)
|
|
|
|
|
|
|
|
|
|
|
|
# set up folder structures for IDE solutions
|
|
|
|
# set up folder structures for IDE solutions
|
|
|
|
# MSVC Express won't load solutions that use this. It also doesn't include MFC supported
|
|
|
|
# checking for msvc express is meaningless now, all available editions of msvc support folder groupings
|
|
|
|
# Check for MFC!
|
|
|
|
option(CMAKE_USE_FOLDERS "Enable folder grouping of projects in IDEs." ON)
|
|
|
|
find_package(MFC QUIET)
|
|
|
|
|
|
|
|
if(MFC_FOUND OR (NOT MSVC))
|
|
|
|
|
|
|
|
option(CMAKE_USE_FOLDERS "Enable folder grouping of projects in IDEs." ON)
|
|
|
|
|
|
|
|
else()
|
|
|
|
|
|
|
|
option(CMAKE_USE_FOLDERS "Enable folder grouping of projects in IDEs." OFF)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(CMAKE_USE_FOLDERS)
|
|
|
|
if(CMAKE_USE_FOLDERS)
|
|
|
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
|
|
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
|
|
|