Browse Source

Moved included CMake modules to top level Build directory since they apply to more than just Core.

Cameron Hart 14 years ago
parent
commit
992e27761d

+ 0 - 1
.gitignore

@@ -43,7 +43,6 @@
 /Tools/Dependencies/assimp
 /Tools/Dependencies/assimp
 /Bindings/Dependencies
 /Bindings/Dependencies
 /IDE/Mac\ OS\ X
 /IDE/Mac\ OS\ X
-/build
 /qtcreator-build
 /qtcreator-build
 Debug
 Debug
 Release
 Release

+ 0 - 0
Core/Build/CMake/FindAssimp.cmake → Build/CMakeModules/FindAssimp.cmake


+ 0 - 0
Core/Build/CMake/FindBox2D.cmake → Build/CMakeModules/FindBox2D.cmake


+ 0 - 0
Core/Build/CMake/FindFreetype.cmake → Build/CMakeModules/FindFreetype.cmake


+ 0 - 0
Core/Build/CMake/FindPackageHandleStandardArgs.cmake → Build/CMakeModules/FindPackageHandleStandardArgs.cmake


+ 0 - 0
Core/Build/CMake/FindVorbisFile.cmake → Build/CMakeModules/FindVorbisFile.cmake


+ 2 - 2
CMakeLists.txt

@@ -18,7 +18,7 @@ OPTION(POLYCODE_BUILD_TOOLS "Build Polycode tools" ON)
 OPTION(POLYCODE_INSTALL_FRAMEWORK "Install Polycode Core, Modules and Tools" ON)
 OPTION(POLYCODE_INSTALL_FRAMEWORK "Install Polycode Core, Modules and Tools" ON)
 
 
 # Some non-standard CMake modules
 # Some non-standard CMake modules
-SET(CMAKE_MODULE_PATH ${PolyCode_SOURCE_DIR}/Core/Build/CMake ${CMAKE_MODULE_PATH})
+SET(CMAKE_MODULE_PATH ${PolyCode_SOURCE_DIR}/Build/CMakeModules ${CMAKE_MODULE_PATH})
 
 
 IF(WIN32)
 IF(WIN32)
     SET(CMAKE_PREFIX_PATH ${PolyCode_SOURCE_DIR}/Release/Win/Framework/Dependencies)
     SET(CMAKE_PREFIX_PATH ${PolyCode_SOURCE_DIR}/Release/Win/Framework/Dependencies)
@@ -86,4 +86,4 @@ IF(POLYCODE_BUILD_TOOLS)
     ADD_SUBDIRECTORY(Tools/Contents)
     ADD_SUBDIRECTORY(Tools/Contents)
 ENDIF(POLYCODE_BUILD_TOOLS)
 ENDIF(POLYCODE_BUILD_TOOLS)
 
 
-# Install assets and dependencies
+# Install assets and dependencies