mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-04 08:17:28 +00:00
3d9c63b0f0
* Print a fatal_error when users do not source the good CMakeLists file. * Do not search system libraries if the user force the internal libraries git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3269 96395faa-99c1-11dd-bbfe-3dabce05a288
18 lines
490 B
CMake
18 lines
490 B
CMake
# 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")
|
|
endif(NOT TOP_CMAKE_WAS_SOURCED)
|
|
|
|
|
|
# build project zlib
|
|
if(projectZLIB)
|
|
add_subdirectory(zlib)
|
|
endif(projectZLIB)
|
|
|
|
# build project SoundTouch
|
|
if(projectSoundTouch)
|
|
add_subdirectory(SoundTouch)
|
|
endif(projectSoundTouch)
|