2010-06-22 13:30:36 +00:00
|
|
|
# Check that people use the good file
|
|
|
|
if(NOT TOP_CMAKE_WAS_SOURCED)
|
|
|
|
message(FATAL_ERROR "
|
|
|
|
You did not 'cmake' the good CMakeLists.txt file. Use the one in the top dir.
|
|
|
|
It is advice to delete all wrongly generated cmake stuff => CMakeFiles & CMakeCache.txt")
|
2014-12-14 13:00:20 +00:00
|
|
|
endif()
|
2010-06-22 13:30:36 +00:00
|
|
|
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSdx" AND GSdx)
|
2011-02-20 17:01:03 +00:00
|
|
|
add_subdirectory(GSdx)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSnull" AND GSnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(GSnull)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|