moving cmake configure_file to appropriate location

pull/947/head
Chris Russ 2016-07-16 18:39:06 +10:00
parent a7894b090d
commit c57b524a59
3 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@ assimp.pc
revision.h revision.h
contrib/zlib/zconf.h contrib/zlib/zconf.h
contrib/zlib/zlib.pc contrib/zlib/zlib.pc
include/assimp/config.h
# CMake # CMake
CMakeCache.txt CMakeCache.txt

View File

@ -95,11 +95,9 @@ configure_file(
${CMAKE_CURRENT_BINARY_DIR}/revision.h ${CMAKE_CURRENT_BINARY_DIR}/revision.h
) )
SET( HEADER_PATH include/assimp )
configure_file( configure_file(
${HEADER_PATH}/config.h.in ${CMAKE_CURRENT_LIST_DIR}/include/assimp/config.h.in
${ASSIMP_INCLUDE_INSTALL_DIR}/assimp/config.h ${CMAKE_CURRENT_LIST_DIR}/include/assimp/config.h
) )
include_directories( include_directories(

View File

@ -58,6 +58,7 @@ SET( PUBLIC_HEADERS
${HEADER_PATH}/camera.h ${HEADER_PATH}/camera.h
${HEADER_PATH}/color4.h ${HEADER_PATH}/color4.h
${HEADER_PATH}/color4.inl ${HEADER_PATH}/color4.inl
${HEADER_PATH}/config.h
${HEADER_PATH}/defs.h ${HEADER_PATH}/defs.h
${HEADER_PATH}/cfileio.h ${HEADER_PATH}/cfileio.h
${HEADER_PATH}/light.h ${HEADER_PATH}/light.h