Reorganise the CMake scripts to make sure the core library is independent

This commit is contained in:
Matt Williams
2014-12-10 15:53:25 +00:00
parent 2e98414fd3
commit 6d6b190743
3 changed files with 38 additions and 36 deletions

View File

@ -48,6 +48,7 @@ endif(WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/PolyVoxConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/PolyVoxConfig.cmake @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PolyVoxConfig.cmake DESTINATION ${CONFIG_FILE_DIR} COMPONENT development)
#Documentation
if(DOXYGEN_FOUND)
#configure_file(${CMAKE_CURRENT_SOURCE_DIR}/polyvox.css ${CMAKE_CURRENT_BINARY_DIR}/polyvox.css)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
@ -82,5 +83,3 @@ if(DOXYGEN_FOUND)
)
endif()
endif()
#add_subdirectory(bindings)